From cfb6ff4127c410699eb6e06c5460f5b0d12cb4e5 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 28 Nov 2010 07:32:39 +0000 Subject: Rolling back #851136. Broke SQLite installation. --- modules/simpletest/drupal_web_test_case.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/simpletest') 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(); -- cgit v1.2.3