summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/session.test
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-02-15 16:00:00 +0000
committerDries Buytaert <dries@buytaert.net>2010-02-15 16:00:00 +0000
commit54c6a3a989e19abaae07dd38864a0bea5a718629 (patch)
tree0ed875f71d2b03ec29fda03d9582633d3df5c2a5 /modules/simpletest/tests/session.test
parent8f7b37b730116ff9f619178f966624c2606850d5 (diff)
downloadbrdo-54c6a3a989e19abaae07dd38864a0bea5a718629.tar.gz
brdo-54c6a3a989e19abaae07dd38864a0bea5a718629.tar.bz2
- Rollbacked some changes that I accidentically committed along with the RDF patch.
Diffstat (limited to 'modules/simpletest/tests/session.test')
-rw-r--r--modules/simpletest/tests/session.test14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/simpletest/tests/session.test b/modules/simpletest/tests/session.test
index 7caecbe98..2118f8501 100644
--- a/modules/simpletest/tests/session.test
+++ b/modules/simpletest/tests/session.test
@@ -279,15 +279,15 @@ class SessionHttpsTestCase extends DrupalWebTestCase {
// Verify that user is logged in on secure URL.
$this->curlClose();
- $this->drupalGet($this->httpsUrl('admin/config'), array(), array('Cookie: ' . $cookie));
- $this->assertText(t('Configuration'));
+ $this->drupalGet($this->httpsUrl('admin'), array(), array('Cookie: ' . $cookie));
+ $this->assertText(t('Administer'));
$this->assertResponse(200);
// Verify that user is not logged in on non-secure URL.
if (!$is_https) {
$this->curlClose();
- $this->drupalGet('admin/config', array(), array('Cookie: ' . $cookie));
- $this->assertNoText(t('Configuration'));
+ $this->drupalGet('admin', array(), array('Cookie: ' . $cookie));
+ $this->assertNoText(t('Administer'));
$this->assertResponse(403);
}
@@ -340,16 +340,16 @@ class SessionHttpsTestCase extends DrupalWebTestCase {
);
foreach ($cookies as $cookie_key => $cookie) {
- foreach (array('admin/config', $this->httpsUrl('admin/config')) as $url_key => $url) {
+ foreach (array('admin', $this->httpsUrl('admin')) as $url_key => $url) {
$this->curlClose();
$this->drupalGet($url, array(), array('Cookie: ' . $cookie));
if ($cookie_key == $url_key) {
- $this->assertText(t('Configuration'));
+ $this->assertText(t('Administer'));
$this->assertResponse(200);
}
else {
- $this->assertNoText(t('Configuration'));
+ $this->assertNoText(t('Administer'));
$this->assertResponse(403);
}
}