mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +02:00
Merge branch 'develop-ascraeus' into develop
Conflicts: phpBB/phpbb/db/migration/data/v30x/release_3_0_5_rc1.php phpBB/phpbb/db/migration/profilefield_base_migration.php phpBB/phpbb/db/migrator.php
This commit is contained in:
@@ -46,7 +46,10 @@ class phpbb_dbal_migrator_test extends phpbb_database_test_case
|
||||
new \phpbb\db\migration\tool\config($this->config),
|
||||
);
|
||||
|
||||
$container = new phpbb_mock_container_builder();
|
||||
|
||||
$this->migrator = new \phpbb\db\migrator(
|
||||
$container,
|
||||
$this->config,
|
||||
$this->db,
|
||||
$this->db_tools,
|
||||
@@ -57,9 +60,8 @@ class phpbb_dbal_migrator_test extends phpbb_database_test_case
|
||||
$tools,
|
||||
new \phpbb\db\migration\helper()
|
||||
);
|
||||
|
||||
$container = new phpbb_mock_container_builder();
|
||||
$container->set('migrator', $migrator);
|
||||
$container->set('migrator', $this->migrator);
|
||||
$container->set('dispatcher', new phpbb_mock_event_dispatcher());
|
||||
$user = new \phpbb\user('\phpbb\datetime');
|
||||
|
||||
$this->extension_manager = new \phpbb\extension\manager(
|
||||
|
@@ -156,7 +156,10 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
|
||||
$table_prefix = 'phpbb_';
|
||||
$user = new \phpbb\user('\phpbb\user');
|
||||
|
||||
$container = new phpbb_mock_container_builder();
|
||||
|
||||
$migrator = new \phpbb\db\migrator(
|
||||
$container,
|
||||
$config,
|
||||
$db,
|
||||
$db_tools,
|
||||
@@ -167,7 +170,6 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
|
||||
array(),
|
||||
new \phpbb\db\migration\helper()
|
||||
);
|
||||
$container = new phpbb_mock_container_builder();
|
||||
$container->set('migrator', $migrator);
|
||||
|
||||
return new \phpbb\extension\manager(
|
||||
|
@@ -77,7 +77,10 @@ class phpbb_extension_metadata_manager_test extends phpbb_database_test_case
|
||||
$this->template = new phpbb\template\twig\twig($phpbb_path_helper, $this->config, $this->user, $context, $twig, $cache_path, array(new \phpbb\template\twig\extension($context, $this->user)));
|
||||
$container->set('template.twig.lexer', new \phpbb\template\twig\lexer($twig));
|
||||
|
||||
$container = new phpbb_mock_container_builder();
|
||||
|
||||
$this->migrator = new \phpbb\db\migrator(
|
||||
$container,
|
||||
$this->config,
|
||||
$this->db,
|
||||
$this->db_tools,
|
||||
|
@@ -232,7 +232,9 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
$db = $this->get_db();
|
||||
$db_tools = new \phpbb\db\tools\tools($db);
|
||||
|
||||
$container = new phpbb_mock_container_builder();
|
||||
$migrator = new \phpbb\db\migrator(
|
||||
$container,
|
||||
$config,
|
||||
$db,
|
||||
$db_tools,
|
||||
@@ -243,8 +245,8 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
array(),
|
||||
new \phpbb\db\migration\helper()
|
||||
);
|
||||
$container = new phpbb_mock_container_builder();
|
||||
$container->set('migrator', $migrator);
|
||||
$container->set('dispatcher', new phpbb_mock_event_dispatcher());
|
||||
$user = new \phpbb\user('\phpbb\datetime');
|
||||
|
||||
$extension_manager = new \phpbb\extension\manager(
|
||||
|
Reference in New Issue
Block a user