You are here

public function Fix404RedirectUILanguageTest::setUp in Redirect 8

Overrides Redirect404TestBase::setUp

File

modules/redirect_404/tests/src/Functional/Fix404RedirectUILanguageTest.php, line 48

Class

Fix404RedirectUILanguageTest
UI tests for redirect_404 module with language and content translation.

Namespace

Drupal\Tests\redirect_404\Functional

Code

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

  // Enable some languages for this test.
  $language = ConfigurableLanguage::createFromLangcode('de');
  $language
    ->save();
  $language = ConfigurableLanguage::createFromLangcode('es');
  $language
    ->save();
  $language = ConfigurableLanguage::createFromLangcode('fr');
  $language
    ->save();
}