File manager - Edit - /home/premiey/www/wp-content/plugins/ameliabooking/vendor/omnipay/paypal/tests/Message/RestListPlanRequestTest.php
Back
<?php namespace Omnipay\PayPal\Message; use Omnipay\Tests\TestCase; class RestListPlanRequestTest extends TestCase { /** @var \Omnipay\PayPal\Message\RestListPlanRequest */ private $request; public function setUp() { $client = $this->getHttpClient(); $request = $this->getHttpRequest(); $this->request = new RestListPlanRequest($client, $request); } public function testGetData() { $data = $this->request->getData(); $this->assertArrayHasKey('page',$data); $this->assertArrayHasKey('status',$data); $this->assertArrayHasKey('page_size',$data); $this->assertArrayHasKey('total_required',$data); } public function testEndpoint() { $this->assertStringEndsWith('/payments/billing-plans', $this->request->getEndpoint()); } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Generation time: 0 |
proxy
|
phpinfo
|
Settings