Skip to content

Commit

Permalink
Fixed tests, and a Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sudiptpa committed Dec 6, 2022
1 parent e0eac65 commit 7115216
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/Message/DirectPostAuthorizeRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public function setUp()
'expiryMonth' => '6',
'expiryYear' => '2030',
'cvv' => '123',
'billingPostcode' => '1234',
],
]
);
Expand Down
3 changes: 2 additions & 1 deletion tests/Message/DirectPostPurchaseRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ public function setUp()
'card' => [
'number' => '4444333322221111',
'expiryMonth' => '06',
'expiryYear' => '2020',
'expiryYear' => '2039',
'cvv' => '123',
'billingPostcode' => '1234',
],
]
);
Expand Down
1 change: 1 addition & 0 deletions tests/Message/SecureXMLAuthorizeRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public function setUp()
'expiryYear' => '2030',
'cvv' => '123',
'cardHolderName' => 'Sujip Thapa',
'billingPostcode' => '1234',
],
]
);
Expand Down
1 change: 1 addition & 0 deletions tests/Message/SecureXMLPurchaseRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public function setUp()
'expiryYear' => '2030',
'cvv' => '123',
'cardHolderName' => 'Sujip Thapa',
'billingPostcode' => '1234',
],
]
);
Expand Down
7 changes: 7 additions & 0 deletions tests/Message/UnionPayPurchaseRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ public function setUp()
'amount' => '12.00',
'returnUrl' => 'https://www.example.com/return',
'transactionId' => 'GHJGG76756556',
'card' => [
'number' => '4444333322221111',
'expiryMonth' => '06',
'expiryYear' => '2039',
'cvv' => '123',
'billingPostcode' => '1234',
],
]
);
}
Expand Down

0 comments on commit 7115216

Please sign in to comment.