Index: modules/user/user.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.test,v
retrieving revision 1.80
diff -u -p -r1.80 user.test
--- modules/user/user.test	8 Feb 2010 22:17:27 -0000	1.80
+++ modules/user/user.test	9 Feb 2010 13:56:49 -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->assertRaw('<a href="/admin/people/permissions" class="active">', t('Still on the same page after login for access denied page'));
+    $this->assertEqual($this->getAbsoluteUrl('admin/people/permissions'), $this->getUrl(), t('Still on the same page after login for access denied page'));
 
     // Now, log out and repeat with a non-403 page.
     $this->drupalLogout();
