From 54c6a3a989e19abaae07dd38864a0bea5a718629 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 15 Feb 2010 16:00:00 +0000 Subject: - Rollbacked some changes that I accidentically committed along with the RDF patch. --- modules/simpletest/tests/session.test | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'modules/simpletest/tests/session.test') 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); } } -- cgit v1.2.3