Commit f1102d20 authored by webchick's avatar webchick

Issue #2355545 by lhangea, alexpott | YesCT: UserInstallTest testUserInstall()...

Issue #2355545 by lhangea, alexpott | YesCT: UserInstallTest testUserInstall() custom assert message not more helpful than the default.
parent 1682e495
......@@ -47,8 +47,8 @@ public function testUserInstall() {
// Test that the anonymous and administrators languages are equal to the
// site's default language.
$this->assertEqual($anon->langcode, \Drupal::languageManager()->getDefaultLanguage()->getId(), 'Anon user language is the default.');
$this->assertEqual($admin->langcode, \Drupal::languageManager()->getDefaultLanguage()->getId(), 'Admin user language is the default.');
$this->assertEqual($anon->langcode, \Drupal::languageManager()->getDefaultLanguage()->getId());
$this->assertEqual($admin->langcode, \Drupal::languageManager()->getDefaultLanguage()->getId());
// Test that the administrator is active.
$this->assertEqual($admin->status, 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment