summaryrefslogtreecommitdiff
path: root/modules/system/system.test
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-01 00:39:35 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-01 00:39:35 +0000
commit886cc50e75cc045bfce6e655a169f996b0cd5f5c (patch)
treeec9149e625ad3d8f37ef6bd1fd0ba8b3019bad9e /modules/system/system.test
parent3db9fc144cbf8e5d5687c6c90b9526680de67364 (diff)
downloadbrdo-886cc50e75cc045bfce6e655a169f996b0cd5f5c.tar.gz
brdo-886cc50e75cc045bfce6e655a169f996b0cd5f5c.tar.bz2
- Patch #491214 by JohnAlbin, Gábor Hojtsy, eigentor: implement a more usable top level Appearance page. Yay.
Diffstat (limited to 'modules/system/system.test')
-rw-r--r--modules/system/system.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/system/system.test b/modules/system/system.test
index f8fcaa043..27c327675 100644
--- a/modules/system/system.test
+++ b/modules/system/system.test
@@ -1185,9 +1185,10 @@ class SystemThemeFunctionalTest extends DrupalWebTestCase {
* Test the administration theme functionality.
*/
function testAdministrationTheme() {
+ theme_enable(array('stark'));
+ variable_set('theme_default', 'stark');
// Enable an administration theme and show it on the node admin pages.
$edit = array(
- 'theme_default' => 'stark',
'admin_theme' => 'garland',
'node_admin_theme' => TRUE,
);
@@ -1218,8 +1219,8 @@ class SystemThemeFunctionalTest extends DrupalWebTestCase {
$this->assertRaw('themes/stark', t('Site default theme used on the add content page.'));
// Reset to the default theme settings.
+ variable_set('theme_default', 'garland');
$edit = array(
- 'theme_default' => 'garland',
'admin_theme' => '0',
'node_admin_theme' => FALSE,
);