Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
recca0120 committed Oct 4, 2024
1 parent c174445 commit bac7160
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .phpstorm.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
/** @noinspection PhpUnusedLocalVariableInspection */
$STATIC_METHOD_TYPES = [
\Omnipay\Omnipay::create('') => [
'FlashPay' instanceof \Omnipay\FlashPay\Gateway,
'FlashPay' instanceof \Omnipay\FlashPay\FlashPayGateway,
],
\Omnipay\Common\GatewayFactory::create('') => [
'FlashPay' instanceof \Omnipay\FlashPay\Gateway,
'FlashPay' instanceof \Omnipay\FlashPay\FlashPayGateway,
],
];
}
2 changes: 1 addition & 1 deletion src/Gateway.php → src/FlashPayGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* FlashPay Gateway
*/
class Gateway extends AbstractGateway
class FlashPayGateway extends AbstractGateway
{
use Traits\HasFlashPay;

Expand Down
6 changes: 3 additions & 3 deletions tests/GatewayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
use FlashPay\Lib\obj\AesObj;
use Omnipay\Common\Exception\InvalidResponseException;
use Omnipay\Common\Message\NotificationInterface;
use Omnipay\FlashPay\Gateway;
use Omnipay\FlashPay\FlashPayGateway;
use Omnipay\Tests\GatewayTestCase;

class GatewayTest extends GatewayTestCase
{
/** @var Gateway */
/** @var FlashPayGateway */
protected $gateway;

public function setUp(): void
{
parent::setUp();
// $this->gateway = new Gateway(new Client(new \Http\Client\Curl\Client()), $this->getHttpRequest());
$this->gateway = new Gateway($this->getHttpClient(), $this->getHttpRequest());
$this->gateway = new FlashPayGateway($this->getHttpClient(), $this->getHttpRequest());
$this->gateway->initialize([
'HashKey' => 'hULtXjAWIHP6QDhLK1Oxp7Mi47MtPJwg',
'HashIV' => 'JX3YbUmQYZm6ZTAZ',
Expand Down

0 comments on commit bac7160

Please sign in to comment.