diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2012-03-27 14:26:29 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2012-03-27 14:26:29 -0700 |
commit | 3643ea884ae95b2f3b760eb6842a4275c757deca (patch) | |
tree | 7a4c787c69ffc172507496cb06a1004509f54257 | |
parent | 37f518612102a1f91ea6179f4e53ce5db85b7c69 (diff) | |
download | brdo-3643ea884ae95b2f3b760eb6842a4275c757deca.tar.gz brdo-3643ea884ae95b2f3b760eb6842a4275c757deca.tar.bz2 |
Issue #41595 follow-up by BTMash, scor: Fixed pager tests so they now work from Drupal sub-directory installs.
-rw-r--r-- | modules/simpletest/tests/pager.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/tests/pager.test b/modules/simpletest/tests/pager.test index 30695c30e..6fdeec5bf 100644 --- a/modules/simpletest/tests/pager.test +++ b/modules/simpletest/tests/pager.test @@ -51,7 +51,7 @@ class PagerFunctionalWebTestCase extends DrupalWebTestCase { $elements = $this->xpath('//li[contains(@class, :class)]/a', array(':class' => 'pager-last')); preg_match('@page=(\d+)@', $elements[0]['href'], $matches); $current_page = (int) $matches[1]; - $this->drupalGet($GLOBALS['base_url'] . $elements[0]['href'], array('external' => TRUE)); + $this->drupalGet($GLOBALS['base_root'] . $elements[0]['href'], array('external' => TRUE)); $this->assertPagerItems($current_page); } |