File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 23
23
* @method RequestInterface updateCard(array $options = [])
24
24
* @method RequestInterface deleteCard(array $options = [])
25
25
*/
26
- class Gateway extends AbstractGateway
26
+ class ECPayGateway extends AbstractGateway
27
27
{
28
28
use HasDefaults;
29
29
Original file line number Diff line number Diff line change 3
3
namespace Omnipay \ECPay \Tests ;
4
4
5
5
use Omnipay \Common \Message \NotificationInterface ;
6
- use Omnipay \ECPay \Gateway ;
7
- use Omnipay \ECPay \Tests \Stubs \StubGateway ;
6
+ use Omnipay \ECPay \ECPayGateway ;
7
+ use Omnipay \ECPay \Tests \Stubs \StubECPayGateway ;
8
8
use Omnipay \Tests \GatewayTestCase ;
9
9
10
10
class GatewayTest extends GatewayTestCase
11
11
{
12
- /** @var Gateway */
12
+ /** @var ECPayGateway */
13
13
protected $ gateway ;
14
14
15
15
/**
@@ -22,7 +22,7 @@ public function setUp(): void
22
22
parent ::setUp ();
23
23
24
24
$ this ->options = ['testMode ' => true ];
25
- $ this ->gateway = new StubGateway ($ this ->getHttpClient (), $ this ->getHttpRequest ());
25
+ $ this ->gateway = new StubECPayGateway ($ this ->getHttpClient (), $ this ->getHttpRequest ());
26
26
$ this ->gateway ->initialize ($ this ->options );
27
27
}
28
28
Original file line number Diff line number Diff line change 3
3
namespace Omnipay \ECPay \Tests \Stubs ;
4
4
5
5
use Omnipay \Common \Message \RequestInterface ;
6
- use Omnipay \ECPay \Gateway ;
6
+ use Omnipay \ECPay \ECPayGateway ;
7
7
8
- class StubGateway extends Gateway
8
+ class StubECPayGateway extends ECPayGateway
9
9
{
10
10
/**
11
11
* @return RequestInterface
You can’t perform that action at this time.
0 commit comments