summaryrefslogtreecommitdiff
path: root/modules/simpletest/drupal_web_test_case.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-11-27 20:37:34 +0000
committerDries Buytaert <dries@buytaert.net>2010-11-27 20:37:34 +0000
commitd7a63ff98814c19108808624b957c6335c58caa5 (patch)
tree57ad3b8e0f6e8548665921e3ddad1f0b9614f945 /modules/simpletest/drupal_web_test_case.php
parent84c72d06f03163115ae9bbc939e6ab2dbc65eb28 (diff)
downloadbrdo-d7a63ff98814c19108808624b957c6335c58caa5.tar.gz
brdo-d7a63ff98814c19108808624b957c6335c58caa5.tar.bz2
- Patch #851136 by Damien Tournoud, Crell, chx: make the database autoloading more robust.
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r--modules/simpletest/drupal_web_test_case.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index c5c63d8c5..e50adda62 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -611,8 +611,6 @@ 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();