aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-01-10 19:21:12 -0600
committerNathan Guse <nathaniel.guse@gmail.com>2013-01-10 19:27:51 -0600
commit71e07ecc471f013aec698654cf5cfa928c8ad0e8 (patch)
tree7fe3b1672cdce4a30f7b0a5da646575396a12f4f /tests
parentdc8d4dbf30e4ddc0815c87318178381443cd948c (diff)
downloadforums-71e07ecc471f013aec698654cf5cfa928c8ad0e8.tar
forums-71e07ecc471f013aec698654cf5cfa928c8ad0e8.tar.gz
forums-71e07ecc471f013aec698654cf5cfa928c8ad0e8.tar.bz2
forums-71e07ecc471f013aec698654cf5cfa928c8ad0e8.tar.xz
forums-71e07ecc471f013aec698654cf5cfa928c8ad0e8.zip
[ticket/11320] Include functions file as we need phpbb_convert_30_dbms_to_31
PHPBB3-11320
Diffstat (limited to 'tests')
-rw-r--r--tests/test_framework/phpbb_test_case_helpers.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_framework/phpbb_test_case_helpers.php b/tests/test_framework/phpbb_test_case_helpers.php
index 47459832d5..20ae384f21 100644
--- a/tests/test_framework/phpbb_test_case_helpers.php
+++ b/tests/test_framework/phpbb_test_case_helpers.php
@@ -77,6 +77,11 @@ class phpbb_test_case_helpers
{
include($test_config);
+ if (!function_exists('phpbb_convert_30_dbms_to_31'))
+ {
+ require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
+ }
+
$config = array_merge($config, array(
'dbms' => phpbb_convert_30_dbms_to_31($dbms),
'dbhost' => $dbhost,