Skip to content

Commit

Permalink
improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dsge committed Dec 9, 2016
1 parent 6d82da8 commit bb2596a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/GatewayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ public function testPrivateKeyGetter(){

$this->assertEquals($privateKey, $gateway->getPrivateKey());
}
public function testReturnUrlGetter(){
$gateway = Omnipay::create("\\".OtpHuGateway::class);
$returnUrl = "https://www.example.com/processing-your-payment";
$gateway->setReturnUrl($returnUrl);

$this->assertEquals($returnUrl, $gateway->getReturnUrl());
}

public function testMissingTransactionIdFactory(){
$gateway = Omnipay::create("\\".OtpHuGateway::class);
Expand Down

0 comments on commit bb2596a

Please sign in to comment.