File manager - Edit - /home/opticamezl/www/newok/libraries/fabrik/vendor/omnipay/targetpay/tests/Message/FetchIssuersRequestTest.php
Back
<?php namespace Omnipay\TargetPay\Message; use Omnipay\Tests\TestCase; class FetchIssuersRequestTest extends TestCase { /** * @var FetchIssuersRequest */ private $request; protected function setUp() { $this->request = new FetchIssuersRequest($this->getHttpClient(), $this->getHttpRequest()); } /** * @dataProvider issuersProvider */ public function testSendSuccess($expected) { $this->setMockHttpResponse('FetchIssuersSuccess.txt'); $response = $this->request->send(); $this->assertTrue($response->isSuccessful()); $this->assertEquals($expected, $response->getIssuers()); } public function issuersProvider() { return array( array( array( '0001' => 'Sample 1', '0002' => 'Sample 2', ), ), ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings