whoami7 - Manager
:
/
home
/
n170823s
/
public_html
/
vendor
/
omnipay
/
paypal
/
tests
/
Message
/
Upload File:
files >> /home/n170823s/public_html/vendor/omnipay/paypal/tests/Message/RestFetchPurchaseRequestTest.php
<?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()); } }
Copyright ©2021 || Defacer Indonesia