aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-02-14 00:00:59 +0100
committerIgor Wiedler <igor@wiedler.ch>2011-02-14 00:24:55 +0100
commit6c7f49f56199a5e4de195731c2d7a8aacd33dd53 (patch)
tree49cdb03f76dc8ea1a966298d4ffd69eb1f218ad1 /tests/bootstrap.php
parentecb29e6027ef0ef7c551f22745aa68e3f96d83ac (diff)
downloadforums-6c7f49f56199a5e4de195731c2d7a8aacd33dd53.tar
forums-6c7f49f56199a5e4de195731c2d7a8aacd33dd53.tar.gz
forums-6c7f49f56199a5e4de195731c2d7a8aacd33dd53.tar.bz2
forums-6c7f49f56199a5e4de195731c2d7a8aacd33dd53.tar.xz
forums-6c7f49f56199a5e4de195731c2d7a8aacd33dd53.zip
[task/refactor-db-testcase] Refactor phpbb_database_test_case
Move most of the methods to a separate connection manager class. The test case creates a manager to handle database creation, schema loading and more. Most of the methods could be simplified because they can access shared pdo, config and dbms data. PHPBB3-10043
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 1fba323277..c729c6e2d8 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -30,3 +30,4 @@ require_once $phpbb_root_path . 'includes/constants.php';
require_once 'test_framework/phpbb_test_case_helpers.php';
require_once 'test_framework/phpbb_test_case.php';
require_once 'test_framework/phpbb_database_test_case.php';
+require_once 'test_framework/phpbb_database_test_connection_manager.php';