aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-07-27 21:32:54 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-07-27 21:32:54 +0200
commit065feb3ff90ebfefae7430f21f22f274f88e8b94 (patch)
treecdbb36b177d232f69d428a66e627ee469348b5be
parentb0334d6b4f0fb77fc89480bb2498bdd8f84ccf54 (diff)
downloadforums-065feb3ff90ebfefae7430f21f22f274f88e8b94.tar
forums-065feb3ff90ebfefae7430f21f22f274f88e8b94.tar.gz
forums-065feb3ff90ebfefae7430f21f22f274f88e8b94.tar.bz2
forums-065feb3ff90ebfefae7430f21f22f274f88e8b94.tar.xz
forums-065feb3ff90ebfefae7430f21f22f274f88e8b94.zip
[ticket/15088] Ensure phpBB version is set in tests
PHPBB3-15088
-rw-r--r--tests/test_framework/phpbb_functional_test_case.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php
index b594e48864..090ee07d65 100644
--- a/tests/test_framework/phpbb_functional_test_case.php
+++ b/tests/test_framework/phpbb_functional_test_case.php
@@ -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);