Skip to content

Commit

Permalink
Fixing unit tests caused by card reference changes
Browse files Browse the repository at this point in the history
  • Loading branch information
delatbabel committed Jan 13, 2016
1 parent 9bf0380 commit 6c4cef5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Message/AuthorizeRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function testSendSuccess()
$this->assertTrue($response->isSuccessful());
$this->assertFalse($response->isRedirect());
$this->assertSame('ch_1IU9gcUiNASROd', $response->getTransactionReference());
$this->assertNull($response->getCardReference());
$this->assertSame('card_16n3EU2baUhq7QENSrstkoN0', $response->getCardReference());
$this->assertNull($response->getMessage());
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Message/PurchaseRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function testSendSuccess()
$this->assertTrue($response->isSuccessful());
$this->assertFalse($response->isRedirect());
$this->assertSame('ch_1IU9gcUiNASROd', $response->getTransactionReference());
$this->assertNull($response->getCardReference());
$this->assertSame('card_16n3EU2baUhq7QENSrstkoN0', $response->getCardReference());
$this->assertNull($response->getMessage());
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Message/ResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function testPurchaseSuccess()
$this->assertTrue($response->isSuccessful());
$this->assertFalse($response->isRedirect());
$this->assertSame('ch_1IU9gcUiNASROd', $response->getTransactionReference());
$this->assertNull($response->getCardReference());
$this->assertSame('card_16n3EU2baUhq7QENSrstkoN0', $response->getCardReference());
$this->assertNull($response->getMessage());
$this->assertInternalType('array', $response->getSource());
}
Expand Down

0 comments on commit 6c4cef5

Please sign in to comment.