File manager - Edit - /home/asiatechinc/public_html/bhrhotelsindia.com/vendor/omnipay/paypal/tests/Message/RestFetchPurchaseRequestTest.php
Back
<?php namespace Omnipay\PayPal\Message; use Omnipay\Tests\TestCase; class RestFetchPurchaseRequestTest extends TestCase { /** @var \Omnipay\PayPal\Message\RestFetchPurchaseRequest */ private $request; public function setUp() { $client = $this->getHttpClient(); $request = $this->getHttpRequest(); $this->request = new RestFetchPurchaseRequest($client, $request); } public function testEndpoint() { $this->request->setTransactionReference('ABC-123'); $this->assertStringEndsWith('/payments/payment/ABC-123', $this->request->getEndpoint()); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings