You are here

public function PaymentReferenceWebTest::setUp in Payment 8.2

Same name in this branch
  1. 8.2 modules/payment_reference/tests/src/Functional/Plugin/Field/FieldWidget/PaymentReferenceWebTest.php \Drupal\Tests\payment_reference\Functional\Plugin\Field\FieldWidget\PaymentReferenceWebTest::setUp()
  2. 8.2 modules/payment_reference/tests/src/Functional/Plugin/Field/FieldType/PaymentReferenceWebTest.php \Drupal\Tests\payment_reference\Functional\Plugin\Field\FieldType\PaymentReferenceWebTest::setUp()

Overrides BrowserTestBase::setUp

File

modules/payment_reference/tests/src/Functional/Plugin/Field/FieldWidget/PaymentReferenceWebTest.php, line 31

Class

PaymentReferenceWebTest
\Drupal\payment_reference\Plugin\Field\FieldWidget\PaymentReference web test.

Namespace

Drupal\Tests\payment_reference\Functional\Plugin\Field\FieldWidget

Code

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

  /** @var \Drupal\currency\ConfigImporterInterface $config_importer */
  $config_importer = \Drupal::service('currency.config_importer');
  $config_importer
    ->importCurrency('EUR');
}