From f1102d202bb1a78cc33a41e1a7bd59ed63c77591 Mon Sep 17 00:00:00 2001 From: webchick <drupal@webchick.net> Date: Mon, 13 Oct 2014 21:36:15 -0700 Subject: [PATCH] Issue #2355545 by lhangea, alexpott | YesCT: UserInstallTest testUserInstall() custom assert message not more helpful than the default. --- core/modules/user/src/Tests/UserInstallTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/user/src/Tests/UserInstallTest.php b/core/modules/user/src/Tests/UserInstallTest.php index 33a3238fe074..661c605f7e99 100644 --- a/core/modules/user/src/Tests/UserInstallTest.php +++ b/core/modules/user/src/Tests/UserInstallTest.php @@ -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); -- GitLab