diff --git a/core/modules/system/tests/upgrade/upgrade.roles.test b/core/modules/system/tests/upgrade/upgrade.roles.test index d51cacc..8902792 100644 --- a/core/modules/system/tests/upgrade/upgrade.roles.test +++ b/core/modules/system/tests/upgrade/upgrade.roles.test @@ -61,5 +61,10 @@ class UserRoleUpgradePathTestCase extends UpgradePathTestCase { $this->assertText('gärtner', 'Role name is displayed on block visibility settings.'); $this->assertText('very long role name that has exactly sixty-four characters in it', 'Role name is displayed on block visibility settings.'); $this->assertText('very_long role name that has exactly sixty-four characters in it', 'Role name is displayed on block visibility settings.'); + + // The administrative user role must still be assigned to the + // "administrator" role (rid 3). + $this->drupalGet('admin/config/people/accounts'); + $this->assertFieldByName('user_admin_role', 3); } }