You are here

protected function SermepaGatewayOnNotifyTest::setUp in Commerce sermepa 8.2

Overrides CommerceBrowserTestBase::setUp

File

tests/src/Functional/SermepaGatewayOnNotifyTest.php, line 33

Class

SermepaGatewayOnNotifyTest
Tests the payment gateway notify route for 'Sermepa' case.

Namespace

Drupal\Tests\commerce_sermepa\Functional

Code

protected function setUp() : void {
  parent::setUp();

  /** @var \Drupal\commerce_payment\Entity\PaymentGateway $payment_gateway */
  $this->paymentGateway = $this
    ->createEntity('commerce_payment_gateway', [
    'id' => 'commerce_sermepa',
    'label' => 'Commerce Sermepa',
    'plugin' => 'commerce_sermepa',
  ]);
}