Skip to content

Commit 8341f9e

Browse files
committed
Additional tests for ServerAuthorizeResponse
1 parent d1c0137 commit 8341f9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Message/ServerAuthorizeResponseTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ public function testServerPurchaseSuccess()
2121
$this->assertSame('{"SecurityKey":"IK776BWNHN","VPSTxId":"{1E7D9C70-DBE2-4726-88EA-D369810D801D}","VendorTxCode":"123456"}', $response->getTransactionReference());
2222
$this->assertSame('Server transaction registered successfully.', $response->getMessage());
2323
$this->assertSame('https://test.sagepay.com/Simulator/VSPServerPaymentPage.asp?TransactionID={1E7D9C70-DBE2-4726-88EA-D369810D801D}', $response->getRedirectUrl());
24+
$this->assertSame('GET', $response->getRedirectMethod());
25+
$this->assertNull($response->getRedirectData());
2426
}
2527

2628

0 commit comments

Comments
 (0)