Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -47,8 +47,8 @@ public function testUserInstall() { ...@@ -47,8 +47,8 @@ public function testUserInstall() {
// Test that the anonymous and administrators languages are equal to the // Test that the anonymous and administrators languages are equal to the
// site's default language. // site's default language.
$this->assertEqual($anon->langcode, \Drupal::languageManager()->getDefaultLanguage()->getId(), 'Anon user language is the default.'); $this->assertEqual($anon->langcode, \Drupal::languageManager()->getDefaultLanguage()->getId());
$this->assertEqual($admin->langcode, \Drupal::languageManager()->getDefaultLanguage()->getId(), 'Admin user language is the default.'); $this->assertEqual($admin->langcode, \Drupal::languageManager()->getDefaultLanguage()->getId());
// Test that the administrator is active. // Test that the administrator is active.
$this->assertEqual($admin->status, 1); $this->assertEqual($admin->status, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment