diff --git a/tests/framework/extension_database_test_case.php b/tests/framework/extension_database_test_case.php index 4658647..1ef8142 100644 --- a/tests/framework/extension_database_test_case.php +++ b/tests/framework/extension_database_test_case.php @@ -79,8 +79,10 @@ public function getConnection() // If there are any migrations, load and run them all if (file_exists($migrations_path) && is_dir($migrations_path)) { - $finder = $phpbb_container->get('ext.finder'); - $migrator = $phpbb_container->get('migrator'); + global $phpbb_extension_manager; + $finder = $phpbb_extension_manager->get_finder(); + + $migrator = $this->container->get('migrator'); $migrations = array(); $vendor_ext = $this->get_vendor_ext($phpbb_root_path); @@ -194,7 +196,7 @@ protected function create_config_file($phpbb_root_path, $phpEx) @define('PHPBB_INSTALLED', true); @define('DEBUG', true); -@define('DEBUG_CONTAINER', true); +@define('DEBUG_CONTAINER', false); "; if (file_put_contents($phpbb_root_path . 'config.' . $phpEx, $contents) === false)