Skip to content

Commit

Permalink
Update GatewayTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
cardgate authored Jan 22, 2020
1 parent b6694fb commit 5c09c30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/GatewayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function testFetchIssuers ()
*
* @var \Omnipay\Cardgate\Message\FetchIssuersRequest $request
*/
$response = $this->gateway->fetchIssuers();
$response = $this->gateway->fetchIssuers()->send();
$this->assertInstanceOf( 'Omnipay\Cardgate\Message\FetchIssuersResponse', $response );
$issuers = $response->getIssuers();
$this->assertInstanceOf( 'Omnipay\Common\Issuer', next ( $issuers ) );
Expand All @@ -71,7 +71,7 @@ public function testFetchPaymentMethods ()
*
* @var \Omnipay\Cardgate\Message\FetchIssuersRequest $request
*/
$response = $this->gateway->fetchPaymentMethods();
$response = $this->gateway->fetchPaymentMethods()->send();
$this->assertInstanceOf( 'Omnipay\Cardgate\Message\FetchPaymentMethodsResponse', $response );
$paymentmethods = $response->getPaymentMethods();
$this->assertInstanceOf( 'Omnipay\Common\PaymentMethod', next ( $paymentmethods ) );
Expand Down

0 comments on commit 5c09c30

Please sign in to comment.