You are here

protected function MetatagConfigTranslationTest::setUp in Metatag 8

Sets the test up.

Overrides BrowserTestBase::setUp

File

tests/src/Functional/MetatagConfigTranslationTest.php, line 70

Class

MetatagConfigTranslationTest
Ensures that the Metatag config translations work correctly.

Namespace

Drupal\Tests\metatag\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser($this->permissions);
  $this
    ->drupalLogin($this->adminUser);

  // Enable the French language.
  ConfigurableLanguage::createFromLangcode('fr')
    ->save();
}