diff --git a/modules/user/user.test b/modules/user/user.test index bed823f9b25..82d0bcf5fda 100644 --- a/modules/user/user.test +++ b/modules/user/user.test @@ -962,15 +962,15 @@ class UserBlocksUnitTests extends DrupalWebTestCase { $edit['name'] = $user->name; $edit['pass'] = $user->pass_raw; $this->drupalPost('admin/settings/permissions', $edit, t('Log in')); - $this->assertText(t('Log out'), t('Logged in.')); + $this->assertNoText(t('User login'), t('Logged in.')); // Check that we are still on the same page. $this->assertPattern('!