diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-02-15 15:12:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-02-15 15:12:22 +0000 |
commit | d89f0464264cb227a917a64660466099d93958aa (patch) | |
tree | 694f264cb9510118717d154b15a8d031d23ca982 /modules/simpletest | |
parent | 4c9fd48cedb88ca3e4e1e19ef862feadb9e244d3 (diff) | |
download | brdo-d89f0464264cb227a917a64660466099d93958aa.tar.gz brdo-d89f0464264cb227a917a64660466099d93958aa.tar.bz2 |
- Patch #685034 by linclark: the number of comments in RDFa should be typed.
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/tests/session.test | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/simpletest/tests/session.test b/modules/simpletest/tests/session.test index 2118f8501..7caecbe98 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'), array(), array('Cookie: ' . $cookie)); - $this->assertText(t('Administer')); + $this->drupalGet($this->httpsUrl('admin/config'), array(), array('Cookie: ' . $cookie)); + $this->assertText(t('Configuration')); $this->assertResponse(200); // Verify that user is not logged in on non-secure URL. if (!$is_https) { $this->curlClose(); - $this->drupalGet('admin', array(), array('Cookie: ' . $cookie)); - $this->assertNoText(t('Administer')); + $this->drupalGet('admin/config', array(), array('Cookie: ' . $cookie)); + $this->assertNoText(t('Configuration')); $this->assertResponse(403); } @@ -340,16 +340,16 @@ class SessionHttpsTestCase extends DrupalWebTestCase { ); foreach ($cookies as $cookie_key => $cookie) { - foreach (array('admin', $this->httpsUrl('admin')) as $url_key => $url) { + foreach (array('admin/config', $this->httpsUrl('admin/config')) as $url_key => $url) { $this->curlClose(); $this->drupalGet($url, array(), array('Cookie: ' . $cookie)); if ($cookie_key == $url_key) { - $this->assertText(t('Administer')); + $this->assertText(t('Configuration')); $this->assertResponse(200); } else { - $this->assertNoText(t('Administer')); + $this->assertNoText(t('Configuration')); $this->assertResponse(403); } } |