From 6c7f49f56199a5e4de195731c2d7a8aacd33dd53 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Mon, 14 Feb 2011 00:00:59 +0100 Subject: [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 --- tests/bootstrap.php | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/bootstrap.php') 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'; -- cgit v1.2.1