diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-07-08 03:41:27 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-07-08 03:41:27 +0000 |
commit | 8f5c296cc08ee58206d204f61fe13abbbe050baf (patch) | |
tree | df85fe532263b63fa5a911221a138a62440cfd5a /modules/color | |
parent | 893fba439bd0fa2d17075715a383a374ff2a4cc6 (diff) | |
download | brdo-8f5c296cc08ee58206d204f61fe13abbbe050baf.tar.gz brdo-8f5c296cc08ee58206d204f61fe13abbbe050baf.tar.bz2 |
#845742 by Damien Tournoud: Make Bartik the default core theme.
Diffstat (limited to 'modules/color')
-rw-r--r-- | modules/color/color.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/color/color.test b/modules/color/color.test index 43cdb4aa2..dff4e6d72 100644 --- a/modules/color/color.test +++ b/modules/color/color.test @@ -22,8 +22,13 @@ class ColorTestCase extends DrupalWebTestCase { function setUp() { parent::setUp('color'); + // Create users. $this->big_user = $this->drupalCreateUser(array('administer themes')); + + // This test relies on Garland, the mother of all the colorable themes. + theme_enable(array('garland')); + variable_set('theme_default', 'garland'); } /** @@ -55,7 +60,6 @@ class ColorTestCase extends DrupalWebTestCase { $stylesheet_content = join("\n", file($stylesheets[0])); $matched = preg_match('/(.*color: #0c7a00.*)/i', $stylesheet_content, $matches); $this->assertTrue($matched == 1, 'Make sure the color we changed is in the color stylesheet.'); - } } |