File manager - Edit - /home/opticamezl/www/newok/libraries/fabrik/vendor/omnipay/firstdata/tests/Message/PurchaseResponseTest.php
Back
<?php namespace Omnipay\FirstData\Message; use Omnipay\Tests\TestCase; class PurchaseResponseTest extends TestCase { public function testPurchaseSuccess() { $response = new PurchaseResponse($this->getMockRequest(), array( 'amount' => 1000, 'returnUrl' => 'https://www.example.com/return', )); $this->assertFalse($response->isSuccessful()); $this->assertTrue($response->isRedirect()); $this->assertNull($response->getTransactionReference()); $this->assertNull($response->getMessage()); $this->assertSame('POST', $response->getRedirectMethod()); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings