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:
@@ -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';
|
||||
|
Reference in New Issue
Block a user