Skip to content

Commit 732abb5

Browse files
committed
Fixed the status 'COMPLETED' in the expected response body of the unit tests.
1 parent 02a72ce commit 732abb5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/Message/TransactionStatusResponseTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ public function testResponseReturnsSuccessful(): void
4545
$expectedResponseBody = [
4646
'contractId' => 'NjRlYjM3MTctOGI1ZC00MDg4LTgxMDgtOTMyMjQ2NzVlNTM4',
4747
'transactionId' => '7c9cb2f4-83ce-4b10-8d5c-de230181224f',
48-
'statusCode' => 200,
48+
'status' => 'COMPLETED',
4949
'transactionStatusDetails' => '',
5050
'acquirerTransactionId' => '',
51+
'statusCode' => 200,
5152
];
5253

5354
$this->assertTrue($response->isSuccessful());
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"contractId": "NjRlYjM3MTctOGI1ZC00MDg4LTgxMDgtOTMyMjQ2NzVlNTM4",
33
"transactionId": "7c9cb2f4-83ce-4b10-8d5c-de230181224f",
4-
"statusCode": "COMPLETED",
4+
"status": "COMPLETED",
55
"transactionStatusDetails": "",
66
"acquirerTransactionId": ""
77
}

0 commit comments

Comments
 (0)