1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/16276] Further fix PHP nightly tests

PHPBB3-16276
This commit is contained in:
rxu
2019-12-29 02:12:36 +07:00
parent 82e61f501a
commit dcab076221
15 changed files with 41 additions and 18 deletions

View File

@@ -26,6 +26,8 @@ class schema_generator_test extends phpbb_test_case
public function setUp(): void
{
global $phpbb_root_path, $phpEx;
parent::setUp();
$this->config = new \phpbb\config\config(array());
@@ -33,6 +35,8 @@ class schema_generator_test extends phpbb_test_case
$factory = new \phpbb\db\tools\factory();
$this->db_tools = $factory->get($this->db);
$this->table_prefix = 'phpbb_';
$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = $phpEx;
}
protected function get_schema_generator(array $class_names)