File manager - Edit - /home/opticamezl/www/newok/libraries/fabrik/vendor/omnipay/2checkout/tests/Message/PurchaseResponseTest.php
Back
<?php namespace Omnipay\TwoCheckout\Message; use Omnipay\Tests\TestCase; class PurchaseResponseTest extends TestCase { public function testConstruct() { $response = new Purchaseresponse($this->getMockRequest(), array('sid' => '12345', 'total' => '10.00')); $this->assertFalse($response->isSuccessful()); $this->assertTrue($response->isRedirect()); $this->assertNull($response->getTransactionReference()); $this->assertNull($response->getMessage()); $this->assertSame('https://www.2checkout.com/checkout/purchase?sid=12345&total=10.00', $response->getRedirectUrl()); $this->assertSame('GET', $response->getRedirectMethod()); $this->assertNull($response->getRedirectData()); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.04 |
proxy
|
phpinfo
|
Settings