Index: modules/user/user.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.test,v
retrieving revision 1.79
diff -u -p -r1.79 user.test
--- modules/user/user.test	7 Feb 2010 17:29:09 -0000	1.79
+++ modules/user/user.test	8 Feb 2010 22:02:36 -0000
@@ -1214,7 +1214,7 @@ class UserBlocksUnitTests extends Drupal
     $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();
