[ticket/15088] Ensure phpBB version is set in tests

PHPBB3-15088
This commit is contained in:
Marc Alexander 2019-07-27 21:32:54 +02:00
parent b0334d6b4f
commit 065feb3ff9
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -234,7 +234,7 @@ class phpbb_functional_test_case extends phpbb_test_case
{ {
global $phpbb_root_path, $phpEx; global $phpbb_root_path, $phpEx;
$config = new \phpbb\config\config(array()); $config = new \phpbb\config\config(array('version' => PHPBB_VERSION));
$db = $this->get_db(); $db = $this->get_db();
$factory = new \phpbb\db\tools\factory(); $factory = new \phpbb\db\tools\factory();
$db_tools = $factory->get($db); $db_tools = $factory->get($db);