Skip to content

Commit 9dad39a

Browse files
committed
Update extension finder and debug container
1 parent 5eb23b7 commit 9dad39a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/framework/extension_database_test_case.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ public function getConnection()
6666
// If there are any migrations, load and run them all
6767
if (file_exists($migrations_path) && is_dir($migrations_path))
6868
{
69-
$finder = $this->container->get('ext.finder');
69+
global $phpbb_extension_manager;
70+
$finder = $phpbb_extension_manager->get_finder();
71+
7072
$migrator = $this->container->get('migrator');
7173

7274
$migrations = array();
@@ -181,7 +183,7 @@ protected function create_config_file($phpbb_root_path, $phpEx)
181183
182184
@define('PHPBB_INSTALLED', true);
183185
@define('DEBUG', true);
184-
@define('DEBUG_CONTAINER', true);
186+
@define('DEBUG_CONTAINER', false);
185187
186188
";
187189
if (file_put_contents($phpbb_root_path . 'config.' . $phpEx, $contents) === false)

0 commit comments

Comments
 (0)