Commit f1102d20 authored by Angie Byron's avatar Angie Byron
Browse files

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
Loading
Loading
Loading
Loading
+2 −2
Changes for core/modules/user/src/Tests/UserInstallTest.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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);