mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
[ticket/16284] Adjust create schema and add tables to tests
PHPBB3-16284
This commit is contained in:
@@ -64,7 +64,8 @@ class phpbb_migrator_convert_timezones_test extends phpbb_database_test_case
|
||||
$factory->get($this->db),
|
||||
$phpbb_root_path,
|
||||
$phpEx,
|
||||
'phpbb_'
|
||||
'phpbb_',
|
||||
self::get_core_tables()
|
||||
);
|
||||
}
|
||||
|
||||
|
@@ -43,6 +43,7 @@ class get_callable_from_step_test extends phpbb_database_test_case
|
||||
$phpbb_root_path,
|
||||
$php_ext,
|
||||
$table_prefix,
|
||||
self::get_core_tables(),
|
||||
array($module_tools),
|
||||
new \phpbb\db\migration\helper()
|
||||
);
|
||||
|
@@ -41,7 +41,7 @@ class schema_generator_test extends phpbb_test_case
|
||||
|
||||
protected function get_schema_generator(array $class_names)
|
||||
{
|
||||
$this->generator = new \phpbb\db\migration\schema_generator($class_names, $this->config, $this->db, $this->db_tools, $this->phpbb_root_path, $this->php_ext, $this->table_prefix);
|
||||
$this->generator = new \phpbb\db\migration\schema_generator($class_names, $this->config, $this->db, $this->db_tools, $this->phpbb_root_path, $this->php_ext, $this->table_prefix, phpbb_database_test_case::get_core_tables());
|
||||
|
||||
return $this->generator;
|
||||
}
|
||||
|
Reference in New Issue
Block a user