1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 15:17:16 +01:00

[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;
$config = new \phpbb\config\config(array());
$config = new \phpbb\config\config(array('version' => PHPBB_VERSION));
$db = $this->get_db();
$factory = new \phpbb\db\tools\factory();
$db_tools = $factory->get($db);