summaryrefslogtreecommitdiffstats
path: root/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/src/Tests/Installer/InstallerTranslationTest.php')
-rw-r--r--core/modules/system/src/Tests/Installer/InstallerTranslationTest.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php b/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php
index 5707234..8d9305c 100644
--- a/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php
+++ b/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php
@@ -53,9 +53,11 @@ class InstallerTranslationTest extends InstallerTestBase {
$this->assertResponse(200);
$account = User::load(0);
- $this->assertEqual($account->language()->getId(), 'de', 'Anonymous user is German.');
+ $this->assertEqual($account->language()->getId(), 'en', 'Anonymous user is English.');
$account = User::load(1);
- $this->assertEqual($account->language()->getId(), 'de', 'Administrator user is German.');
+ $this->assertEqual($account->language()->getId(), 'en', 'Administrator user is English.');
+ $account = $this->drupalCreateUser();
+ $this->assertEqual($account->language()->getId(), 'de', 'New user is German.');
// Ensure that we can enable basic_auth on a non-english site.
$this->drupalPostForm('admin/modules', array('modules[Web services][basic_auth][enable]' => TRUE), t('Save configuration'));