mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/15088] Ensure phpBB version is set in tests
PHPBB3-15088
This commit is contained in:
parent
b0334d6b4f
commit
065feb3ff9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue