You are here

protected function FilterPaymentGatewaysEventTest::setUp in Commerce Core 8.2

Overrides OrderKernelTestBase::setUp

File

modules/payment/tests/src/Kernel/FilterPaymentGatewaysEventTest.php, line 38

Class

FilterPaymentGatewaysEventTest
Tests the FilterPaymentGatewaysEvent.

Namespace

Drupal\Tests\commerce_payment\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installConfig('commerce_payment');
  $this->storage = $this->container
    ->get('entity_type.manager')
    ->getStorage('commerce_payment_gateway');
}