Skip to content

Commit

Permalink
Remove support of outdated php versions
Browse files Browse the repository at this point in the history
  • Loading branch information
vkhramtsov committed Dec 7, 2019
1 parent 19f0bf2 commit d26e010
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ env:
- TEST_SUITE=samples

php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "proprietary",
"homepage": "http://developer.authorize.net",
"require": {
"php": ">=5.6",
"php": ">=7.2",
"ext-curl": "*",
"ext-json": "*"
},
Expand Down
8 changes: 4 additions & 4 deletions tests/Controller_Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function testARBGetSubscriptionList()

$this->assertEquals("Ok", $response->getMessages()->getResultCode());
$this->assertEquals($response->getRefId(), $refId);
$this->assertTrue(0 < count($response->getMessages()));
$this->assertNotNull($response->getMessages());
foreach ($response->getMessages() as $message)
{
$this->assertEquals("I00001", $message->getCode());
Expand Down Expand Up @@ -79,7 +79,7 @@ public function testARBGetSubscription()

$this->assertEquals("Ok", $response->getMessages()->getResultCode());
$this->assertEquals($response->getRefId(), $refId);
$this->assertTrue(0 < count($response->getMessages()));
$this->assertNotNull($response->getMessages());

foreach ($response->getMessages() as $message)
{
Expand Down Expand Up @@ -124,7 +124,7 @@ public function testGetCustomerPaymentProfileList()

$this->assertEquals("Ok", $response->getMessages()->getResultCode());
$this->assertEquals($response->getRefId(), $refId);
$this->assertTrue(0 < count($response->getMessages()));
$this->assertNotNull($response->getMessages());

foreach ($response->getMessages() as $message)
{
Expand Down Expand Up @@ -173,7 +173,7 @@ public function testDecryptPaymentData()

$this->assertEquals("Ok", $response->getMessages()->getResultCode());
//$this->assertEquals($response->getRefId(), $refId);
$this->assertTrue(0 < count($response->getMessages()));
$this->assertNotNull($response->getMessages());
foreach ($response->getMessages() as $message)
{
$this->assertEquals("I00001", $message->getCode());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function testCreateTransactionCreditCard()
}
$this->assertEquals("Ok", $response->getMessages()->getResultCode());
$this->assertEquals( $this->refId, $response->getRefId());
$this->assertTrue(0 < count($response->getMessages()));
$this->assertNotNull($response->getMessages());
foreach ($response->getMessages() as $message)
{
$this->assertEquals("I00001", $message->getCode());
Expand Down Expand Up @@ -88,7 +88,7 @@ public function testCreateTransactionPayPal()
else
{
$this->assertEquals("Ok", $response->getMessages()->getResultCode());
$this->assertTrue(0 < count($response->getMessages()));
$this->assertNotNull($response->getMessages());
foreach ($response->getMessages() as $message)
{
$this->assertEquals("I00001", $message->getCode());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function testLogout()

$this->assertEquals("Ok", $response->getMessages()->getResultCode());
$this->assertEquals( $this->refId, $response->getRefId());
$this->assertTrue(0 < count($response->getMessages()));
$this->assertNotNull($response->getMessages());
foreach ($response->getMessages() as $message)
{
$this->assertEquals("I00001", $message->getCode());
Expand Down

0 comments on commit d26e010

Please sign in to comment.