|
6 | 6 |
|
7 | 7 | class DirectGatewayTest extends GatewayTestCase |
8 | 8 | { |
| 9 | + protected $purchaseOptions; |
| 10 | + protected $captureOptions; |
| 11 | + protected $repeatOptions; |
| 12 | + protected $refundOptions; |
| 13 | + protected $voidOptions; |
| 14 | + protected $abortOptions; |
| 15 | + |
9 | 16 | public function setUp(): void |
10 | 17 | { |
11 | 18 | parent::setUp(); |
@@ -90,7 +97,7 @@ public function testAuthorize3dSecure() |
90 | 97 | $this->assertTrue($response->isRedirect()); |
91 | 98 | $this->assertNull($response->getTransactionReference()); |
92 | 99 | $this->assertNull($response->getMessage()); |
93 | | - $this->assertSame('https://test.sagepay.com/Simulator/3DAuthPage.asp', $response->getRedirectUrl()); |
| 100 | + $this->assertSame('https://sandbox.opayo.eu.elavon.com/Simulator/3DAuthPage.asp', $response->getRedirectUrl()); |
94 | 101 |
|
95 | 102 | $redirectData = $response->getRedirectData(); |
96 | 103 | $this->assertSame('065379457749061954', $redirectData['MD']); |
@@ -132,7 +139,7 @@ public function testPurchase3dSecure() |
132 | 139 | $this->assertTrue($response->isRedirect()); |
133 | 140 | $this->assertNull($response->getTransactionReference()); |
134 | 141 | $this->assertNull($response->getMessage()); |
135 | | - $this->assertSame('https://test.sagepay.com/Simulator/3DAuthPage.asp', $response->getRedirectUrl()); |
| 142 | + $this->assertSame('https://sandbox.opayo.eu.elavon.com/Simulator/3DAuthPage.asp', $response->getRedirectUrl()); |
136 | 143 |
|
137 | 144 | $redirectData = $response->getRedirectData(); |
138 | 145 | $this->assertSame('065379457749061954', $redirectData['MD']); |
|
0 commit comments