mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 20:24:08 +02:00
[ticket/11386] Update tests with new constructors for ext.manager/migrator
PHPBB3-11386
This commit is contained in:
@@ -44,7 +44,26 @@ class phpbb_dbal_migrator_test extends phpbb_database_test_case
|
||||
$tools = array(
|
||||
new phpbb_db_migration_tool_config($this->config),
|
||||
);
|
||||
$this->migrator = new phpbb_db_migrator($this->config, $this->db, $this->db_tools, 'phpbb_migrations', dirname(__FILE__) . '/../../phpBB/', 'php', 'phpbb_', $tools);
|
||||
|
||||
$this->extension_manager = new phpbb_extension_manager(
|
||||
new phpbb_mock_container_builder(),
|
||||
$this->db,
|
||||
$this->config,
|
||||
'phpbb_ext',
|
||||
dirname(__FILE__) . '/../../phpBB/',
|
||||
'.php',
|
||||
null
|
||||
);
|
||||
$this->migrator = new phpbb_db_migrator(
|
||||
$this->config,
|
||||
$this->db,
|
||||
$this->db_tools,
|
||||
$this->extension_manager,
|
||||
'phpbb_migrations',
|
||||
dirname(__FILE__) . '/../../phpBB/',
|
||||
'php',
|
||||
'phpbb_', $tools
|
||||
);
|
||||
}
|
||||
|
||||
public function test_update()
|
||||
|
Reference in New Issue
Block a user