diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 00:02:05 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 00:02:05 +0000 |
commit | 4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4 (patch) | |
tree | 91a4f64953675ba9204158ebca02276aec7555ba /modules/simpletest/drupal_web_test_case.php | |
parent | c98fd96c62e6a60f5e5e2476ebc38766e438c535 (diff) | |
download | brdo-4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4.tar.gz brdo-4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index c23081467..8ef61367a 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -519,7 +519,7 @@ abstract class DrupalTestCase { * * These tests can not access the database nor files. Calling any Drupal * function that needs the database will throw exceptions. These include - * watchdog(), drupal_function_exists(), module_implements(), + * watchdog(), function_exists(), module_implements(), * module_invoke_all() etc. */ class DrupalUnitTestCase extends DrupalTestCase { @@ -549,7 +549,7 @@ class DrupalUnitTestCase extends DrupalTestCase { if (isset($module_list['locale'])) { $this->originalModuleList = $module_list; unset($module_list['locale']); - module_list(TRUE, FALSE, $module_list); + module_list(TRUE, FALSE, FALSE, $module_list); } } @@ -561,7 +561,7 @@ class DrupalUnitTestCase extends DrupalTestCase { $db_prefix = $this->originalPrefix; // Restore modules if necessary. if (isset($this->originalModuleList)) { - module_list(TRUE, FALSE, $this->originalModuleList); + module_list(TRUE, FALSE, FALSE, $this->originalModuleList); } } } @@ -1203,7 +1203,7 @@ class DrupalWebTestCase extends DrupalTestCase { // Reload module list and implementations to ensure that test module hooks // aren't called after tests. module_list(TRUE); - module_implements(MODULE_IMPLEMENTS_CLEAR_CACHE); + module_implements('', FALSE, TRUE); // Reset the Field API. field_cache_clear(); |