diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-06 23:56:47 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-06 23:56:47 +0000 |
commit | 864408cefa3cecf2b4b3a7ef951a5612101cc190 (patch) | |
tree | 464c6ec3f3663ea32eea41745a3dad91c4cb35ff /modules/system/system.test | |
parent | f5b178083ec7a933c426b518920f3e99c6f080dd (diff) | |
download | brdo-864408cefa3cecf2b4b3a7ef951a5612101cc190.tar.gz brdo-864408cefa3cecf2b4b3a7ef951a5612101cc190.tar.bz2 |
- Patch #652420 by sun: fixed various failures.
Diffstat (limited to 'modules/system/system.test')
-rw-r--r-- | modules/system/system.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/system/system.test b/modules/system/system.test index 9ecebd9ec..522f96b0a 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -528,6 +528,7 @@ class AccessDeniedTestCase extends DrupalWebTestCase { function testAccessDenied() { $this->drupalGet('admin'); $this->assertText(t('Access denied'), t('Found the default 403 page')); + $this->assertReponse(403); $edit = array( 'title' => array(LANGUAGE_NONE => array(array('value' => $this->randomName(10)))), @@ -557,6 +558,7 @@ class AccessDeniedTestCase extends DrupalWebTestCase { $this->drupalGet('admin'); $this->assertText(t('Access denied'), t('Found the default 403 page')); + $this->assertReponse(403); $this->assertText(t('User login'), t('Blocks are shown on the default 403 page')); // Log back in, set the custom 403 page to /user and remove the block |