You are here

protected function AddressDefaultFormatterTest::setUp in Address 8

Overrides FormatterTestBase::setUp

File

tests/src/Kernel/Formatter/AddressDefaultFormatterTest.php, line 18

Class

AddressDefaultFormatterTest
Tests the address_default formatter.

Namespace

Drupal\Tests\address\Kernel\Formatter

Code

protected function setUp() : void {
  parent::setUp();
  ConfigurableLanguage::createFromLangcode('zh-hant')
    ->save();
  $this
    ->createField('address', 'address_default');
}