summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-01 18:37:23 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-01 18:37:23 +0000
commitbf751d9a94dca1b48f30a061aa09049c977fbda1 (patch)
tree511a51fe8ae9f7675e5ea148ada52cc74e9f0d15 /modules/simpletest/tests
parent0223bf1dc25a77671618733ee7e76fba958013d8 (diff)
downloadbrdo-bf751d9a94dca1b48f30a061aa09049c977fbda1.tar.gz
brdo-bf751d9a94dca1b48f30a061aa09049c977fbda1.tar.bz2
#651086 follow-up by carols8f: Fix cache clearing is an ineffective mess.
Diffstat (limited to 'modules/simpletest/tests')
-rw-r--r--modules/simpletest/tests/module_test.module3
-rw-r--r--modules/simpletest/tests/upgrade/upgrade.test3
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/simpletest/tests/module_test.module b/modules/simpletest/tests/module_test.module
index 82df306e7..facac7cfa 100644
--- a/modules/simpletest/tests/module_test.module
+++ b/modules/simpletest/tests/module_test.module
@@ -36,6 +36,9 @@ function module_test_system_info_alter(&$info, $file, $type) {
$info['dependencies'][] = 'php';
}
}
+ if ($file->name == 'seven' && $type == 'theme') {
+ $info['regions']['test_region'] = t('Test region');
+ }
}
/**
diff --git a/modules/simpletest/tests/upgrade/upgrade.test b/modules/simpletest/tests/upgrade/upgrade.test
index 481f7b90a..3d463c95f 100644
--- a/modules/simpletest/tests/upgrade/upgrade.test
+++ b/modules/simpletest/tests/upgrade/upgrade.test
@@ -283,9 +283,6 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase {
drupal_static_reset();
drupal_flush_all_caches();
- // Register actions declared by any modules.
- actions_synchronize();
-
// Reload global $conf array and permissions.
$this->refreshVariables();
$this->checkPermissions(array(), TRUE);