From 9dad39a88a79fe6786649583188a6251d63e2d67 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Tue, 6 May 2014 16:44:59 -0700 Subject: [PATCH] Update extension finder and debug container --- tests/framework/extension_database_test_case.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/framework/extension_database_test_case.php b/tests/framework/extension_database_test_case.php index c4115ad..3fe537f 100644 --- a/tests/framework/extension_database_test_case.php +++ b/tests/framework/extension_database_test_case.php @@ -66,7 +66,9 @@ public function getConnection() // If there are any migrations, load and run them all if (file_exists($migrations_path) && is_dir($migrations_path)) { - $finder = $this->container->get('ext.finder'); + global $phpbb_extension_manager; + $finder = $phpbb_extension_manager->get_finder(); + $migrator = $this->container->get('migrator'); $migrations = array(); @@ -181,7 +183,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)