diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-09 19:22:04 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-09 19:22:04 +0000 |
commit | 3016bcbd235b75e60a44566368c2d3702a625174 (patch) | |
tree | e47c85fde9bf47662d5c9a3f46cdac4578038ecd /modules/simpletest/tests/session.test | |
parent | 11cbc6ab2c6d915f819e1f43a29f8b862ffa6154 (diff) | |
download | brdo-3016bcbd235b75e60a44566368c2d3702a625174.tar.gz brdo-3016bcbd235b75e60a44566368c2d3702a625174.tar.bz2 |
- Patch #652420 by sun: fixed some errors.
Diffstat (limited to 'modules/simpletest/tests/session.test')
-rw-r--r-- | modules/simpletest/tests/session.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/tests/session.test b/modules/simpletest/tests/session.test index 640431487..70bf70565 100644 --- a/modules/simpletest/tests/session.test +++ b/modules/simpletest/tests/session.test @@ -309,7 +309,7 @@ class SessionHttpsTestCase extends DrupalWebTestCase { $this->curlClose(); $this->drupalGet($this->httpsUrl('admin'), array(), array('Cookie: ' . $cookie)); $this->assertText(t('Administer')); - $this->assertNoResponse(403); + $this->assertResponse(200); // Verify that user is not logged in on non-secure URL. if (!$is_https) { @@ -375,7 +375,7 @@ class SessionHttpsTestCase extends DrupalWebTestCase { $this->drupalGet($url, array(), array('Cookie: ' . $cookie)); if ($cookie_key == $url_key) { $this->assertText(t('Administer')); - $this->assertNoResponse(403); + $this->assertResponse(200); } else { $this->assertNoText(t('Administer')); |