summaryrefslogtreecommitdiff
path: root/modules/user/user.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.test')
-rw-r--r--modules/user/user.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.test b/modules/user/user.test
index 48e8783d0..374a7fced 100644
--- a/modules/user/user.test
+++ b/modules/user/user.test
@@ -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->assertEqual($this->getAbsoluteUrl('admin/people/permissions'), $this->getUrl(), t('Still on the same page after login for access denied page'));
+ $this->assertEqual(url('admin/people/permissions', array('absolute' => TRUE)), $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();