function LocaleNonInteractiveInstallTest::testInstallerTranslations
Tests that the expected translated text appears on the login screen.
File
- 
              core/modules/ locale/ tests/ src/ Functional/ LocaleNonInteractiveInstallTest.php, line 67 
Class
- LocaleNonInteractiveInstallTest
- Tests installing in a different language with a non-dev version string.
Namespace
Drupal\Tests\locale\FunctionalCode
public function testInstallerTranslations() : void {
  $this->drupalGet('user/login');
  // cSpell:disable-next-line
  $this->assertSession()
    ->responseContains('Geben sie das Passwort für ihren Benutzernamen ein.');
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
