diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-08-26 10:53:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-08-26 10:53:45 +0000 |
commit | 9d6dcc5682706c3f2d69220243a3c58d20c74200 (patch) | |
tree | da46f198c4e7e785a28b2e944577d7e28c27f8a4 /modules/system/system.test | |
parent | 7c36ac0e493601ffa726590961c004d5b72bc2cc (diff) | |
download | brdo-9d6dcc5682706c3f2d69220243a3c58d20c74200.tar.gz brdo-9d6dcc5682706c3f2d69220243a3c58d20c74200.tar.bz2 |
- Patch #423992 by JohnAlbin, Davy Van Den Bremt: remove show_blocks page variable.
Diffstat (limited to 'modules/system/system.test')
-rw-r--r-- | modules/system/system.test | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/modules/system/system.test b/modules/system/system.test index b5176fd85..ae77dc0dd 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -626,24 +626,6 @@ class PageNotFoundTestCase extends DrupalWebTestCase { $this->drupalGet($this->randomName(10)); $this->assertText($node->title, t('Found the custom 404 page')); - - // Logout and check that the user login block is not shown on custom 404 pages. - $this->drupalLogout(); - - $this->drupalGet($this->randomName(10)); - $this->assertText($node->title, t('Found the custom 404 page')); - $this->assertNoText(t('User login'), t('Blocks are not shown on the custom 404 page')); - - // Log back in and remove the custom 404 page. - $this->drupalLogin($this->admin_user); - $this->drupalPost('admin/settings/site-information', array('site_404' => ''), t('Save configuration')); - - // Logout and check that the user login block is not shown on default 404 pages. - $this->drupalLogout(); - - $this->drupalGet($this->randomName(10)); - $this->assertText(t('Page not found'), t('Found the default 404 page')); - $this->assertNoText(t('User login'), t('Blocks are not shown on the default 404 page')); } } |