summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-06 15:01:27 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-06 15:01:27 +0000
commit393c8e69ed37ce3a520b7f1538cf26b2336c6278 (patch)
tree52bee874c82d45e1abec40c2471e322318c20b3f /modules/simpletest
parentefb349be4332ff4849f154f48edad1502960eeb5 (diff)
downloadbrdo-393c8e69ed37ce3a520b7f1538cf26b2336c6278.tar.gz
brdo-393c8e69ed37ce3a520b7f1538cf26b2336c6278.tar.bz2
- Patch #652122 by catch, Berdir, mr.baileys, sun, David_Rothstein: access dashboard permission is useless.
Diffstat (limited to 'modules/simpletest')
-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';