Skip to content

Commit

Permalink
Fixed up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sudiptpa committed Jul 14, 2020
1 parent 00fb774 commit 943bc62
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ php:
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4

env:
global:
Expand All @@ -24,4 +26,4 @@ install:
- if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-dist; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi

script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
script: vendor/bin/phpcs --exclude=Generic.Files.LineLength src/ --standard=PSR2 src && vendor/bin/phpunit --coverage-text
2 changes: 1 addition & 1 deletion tests/Message/DirectPostAuthorizeRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function setUp()
'returnUrl' => 'https://www.abc.com/return',
'card' => [
'number' => '4444333322221111',
'expiryMonth' => '6',
'expiryMonth' => '12',
'expiryYear' => '2030',
'cvv' => '123',
],
Expand Down
4 changes: 2 additions & 2 deletions tests/Message/DirectPostPurchaseRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public function setUp()
'returnUrl' => 'https://www.example.com/return',
'card' => [
'number' => '4444333322221111',
'expiryMonth' => '06',
'expiryYear' => '2020',
'expiryMonth' => '12',
'expiryYear' => '2030',
'cvv' => '123',
],
]);
Expand Down
2 changes: 1 addition & 1 deletion tests/Message/SecureXMLAuthorizeRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function setUp()
'transactionId' => '1234',
'card' => [
'number' => '4444333322221111',
'expiryMonth' => '10',
'expiryMonth' => '12',
'expiryYear' => '2030',
'cvv' => '123',
'cardHolderName' => 'Sujip Thapa',
Expand Down
2 changes: 1 addition & 1 deletion tests/Message/SecureXMLPurchaseRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function setUp()
'transactionId' => '1234',
'card' => [
'number' => '4444333322221111',
'expiryMonth' => '10',
'expiryMonth' => '12',
'expiryYear' => '2030',
'cvv' => '123',
'cardHolderName' => 'Sujip Thapa',
Expand Down

0 comments on commit 943bc62

Please sign in to comment.