Skip to content

Commit 6c4cef5

Browse files
committed
Fixing unit tests caused by card reference changes
1 parent 9bf0380 commit 6c4cef5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/Message/AuthorizeRequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function testSendSuccess()
109109
$this->assertTrue($response->isSuccessful());
110110
$this->assertFalse($response->isRedirect());
111111
$this->assertSame('ch_1IU9gcUiNASROd', $response->getTransactionReference());
112-
$this->assertNull($response->getCardReference());
112+
$this->assertSame('card_16n3EU2baUhq7QENSrstkoN0', $response->getCardReference());
113113
$this->assertNull($response->getMessage());
114114
}
115115

tests/Message/PurchaseRequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function testSendSuccess()
3232
$this->assertTrue($response->isSuccessful());
3333
$this->assertFalse($response->isRedirect());
3434
$this->assertSame('ch_1IU9gcUiNASROd', $response->getTransactionReference());
35-
$this->assertNull($response->getCardReference());
35+
$this->assertSame('card_16n3EU2baUhq7QENSrstkoN0', $response->getCardReference());
3636
$this->assertNull($response->getMessage());
3737
}
3838

tests/Message/ResponseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function testPurchaseSuccess()
1414
$this->assertTrue($response->isSuccessful());
1515
$this->assertFalse($response->isRedirect());
1616
$this->assertSame('ch_1IU9gcUiNASROd', $response->getTransactionReference());
17-
$this->assertNull($response->getCardReference());
17+
$this->assertSame('card_16n3EU2baUhq7QENSrstkoN0', $response->getCardReference());
1818
$this->assertNull($response->getMessage());
1919
$this->assertInternalType('array', $response->getSource());
2020
}

0 commit comments

Comments
 (0)