Commit 8339e790 authored by webchick's avatar webchick
Browse files

#699842 follow-up by Berdir: Adjust failing test.

parent f75d1a9e
......@@ -1214,7 +1214,7 @@ class UserBlocksUnitTests extends DrupalWebTestCase {
$this->assertNoText(t('User login'), t('Logged in.'));
// Check that we are still on the same page.
$this->assertPattern('!<title.*?' . t('Permissions') . '.*?</title>!', t('Still on the same page after login for access denied page'));
$this->assertRaw('<a href="/admin/people/permissions" class="active">', t('Still on the same page after login for access denied page'));
// Now, log out and repeat with a non-403 page.
$this->drupalLogout();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment