diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-28 07:32:39 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-28 07:32:39 +0000 |
commit | cfb6ff4127c410699eb6e06c5460f5b0d12cb4e5 (patch) | |
tree | 382bc4736bcd53cc87cc0cb3fda03f19df4d412b /modules/simpletest/drupal_web_test_case.php | |
parent | 62bb48c4efc1600269d76923e437c5854c08502e (diff) | |
download | brdo-cfb6ff4127c410699eb6e06c5460f5b0d12cb4e5.tar.gz brdo-cfb6ff4127c410699eb6e06c5460f5b0d12cb4e5.tar.bz2 |
Rolling back #851136. Broke SQLite installation.
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index e50adda62..c5c63d8c5 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -611,6 +611,8 @@ class DrupalUnitTestCase extends DrupalTestCase { // Store necessary current values before switching to the test environment. $this->originalFileDirectory = variable_get('file_public_path', conf_path() . '/files'); + spl_autoload_register('db_autoload'); + // Reset all statics so that test is performed with a clean environment. drupal_static_reset(); |