Skip to content

Commit 943bc62

Browse files
committed
Fixed up tests
1 parent 00fb774 commit 943bc62

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ php:
55
- 7.0
66
- 7.1
77
- 7.2
8+
- 7.3
9+
- 7.4
810

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

27-
script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
29+
script: vendor/bin/phpcs --exclude=Generic.Files.LineLength src/ --standard=PSR2 src && vendor/bin/phpunit --coverage-text

tests/Message/DirectPostAuthorizeRequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function setUp()
1717
'returnUrl' => 'https://www.abc.com/return',
1818
'card' => [
1919
'number' => '4444333322221111',
20-
'expiryMonth' => '6',
20+
'expiryMonth' => '12',
2121
'expiryYear' => '2030',
2222
'cvv' => '123',
2323
],

tests/Message/DirectPostPurchaseRequestTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public function setUp()
1717
'returnUrl' => 'https://www.example.com/return',
1818
'card' => [
1919
'number' => '4444333322221111',
20-
'expiryMonth' => '06',
21-
'expiryYear' => '2020',
20+
'expiryMonth' => '12',
21+
'expiryYear' => '2030',
2222
'cvv' => '123',
2323
],
2424
]);

tests/Message/SecureXMLAuthorizeRequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function setUp()
1818
'transactionId' => '1234',
1919
'card' => [
2020
'number' => '4444333322221111',
21-
'expiryMonth' => '10',
21+
'expiryMonth' => '12',
2222
'expiryYear' => '2030',
2323
'cvv' => '123',
2424
'cardHolderName' => 'Sujip Thapa',

tests/Message/SecureXMLPurchaseRequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function setUp()
1818
'transactionId' => '1234',
1919
'card' => [
2020
'number' => '4444333322221111',
21-
'expiryMonth' => '10',
21+
'expiryMonth' => '12',
2222
'expiryYear' => '2030',
2323
'cvv' => '123',
2424
'cardHolderName' => 'Sujip Thapa',

0 commit comments

Comments
 (0)