1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-15 13:14:09 +02:00

[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
This commit is contained in:
Igor Wiedler
2011-02-14 00:00:59 +01:00
parent ecb29e6027
commit 6c7f49f561
3 changed files with 349 additions and 273 deletions

View File

@@ -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';