You are here

public function AmountWebTest::setUp in Currency 8.3

Overrides BrowserTestBase::setUp

File

tests/src/Functional/Plugin/views/field/AmountWebTest.php, line 28

Class

AmountWebTest
\Drupal\currency\Plugin\views\field\Amount web test.

Namespace

Drupal\Tests\currency\Functional\Plugin\views\field

Code

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

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