summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r--modules/simpletest/tests/common.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/simpletest/tests/common.test b/modules/simpletest/tests/common.test
index 68b99f7a1..c1d294e7d 100644
--- a/modules/simpletest/tests/common.test
+++ b/modules/simpletest/tests/common.test
@@ -23,6 +23,12 @@ class DrupalAlterTestCase extends DrupalWebTestCase {
}
function testDrupalAlter() {
+ // This test depends on Garland, so make sure that it is always the current
+ // active theme.
+ global $theme, $base_theme_info;
+ $theme = 'garland';
+ $base_theme_info = array();
+
$array = array('foo' => 'bar');
$entity = new stdClass;
$entity->foo = 'bar';