You are here

public function LocaleNonInteractiveInstallTest::testInstallerTranslations in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php \Drupal\Tests\locale\Functional\LocaleNonInteractiveInstallTest::testInstallerTranslations()

Tests that the expected translated text appears on the login screen.

File

core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php, line 57

Class

LocaleNonInteractiveInstallTest
Tests installing in a different language with a non-dev version string.

Namespace

Drupal\Tests\locale\Functional

Code

public function testInstallerTranslations() {
  $this
    ->drupalGet('user/login');
  $this
    ->assertSession()
    ->responseContains('Geben sie das Passwort für ihren Benutzernamen ein.');
}