diff --git a/tests/Message/AuthorizeRequestTest.php b/tests/Message/AuthorizeRequestTest.php index 7f67042e..1151fe00 100644 --- a/tests/Message/AuthorizeRequestTest.php +++ b/tests/Message/AuthorizeRequestTest.php @@ -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()); } diff --git a/tests/Message/PurchaseRequestTest.php b/tests/Message/PurchaseRequestTest.php index b55d0b99..d290e264 100644 --- a/tests/Message/PurchaseRequestTest.php +++ b/tests/Message/PurchaseRequestTest.php @@ -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()); } diff --git a/tests/Message/ResponseTest.php b/tests/Message/ResponseTest.php index 48146e34..54390bb1 100644 --- a/tests/Message/ResponseTest.php +++ b/tests/Message/ResponseTest.php @@ -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()); }