aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2014-09-21 15:54:52 +0530
committerDhruv <dhruv.goel92@gmail.com>2014-09-21 15:54:52 +0530
commit29ffddee71e21751ce1e108dd486642caf2d75bf (patch)
tree706343fd989de68ea5610b4504f99622d348e95c /tests/bootstrap.php
parent7fa596a991add3e47c7e5a7033256073f1a50198 (diff)
downloadforums-29ffddee71e21751ce1e108dd486642caf2d75bf.tar
forums-29ffddee71e21751ce1e108dd486642caf2d75bf.tar.gz
forums-29ffddee71e21751ce1e108dd486642caf2d75bf.tar.bz2
forums-29ffddee71e21751ce1e108dd486642caf2d75bf.tar.xz
forums-29ffddee71e21751ce1e108dd486642caf2d75bf.zip
[ticket/12962] bootstrap functional and ui test when php >5.3.19
PHPBB3-12962
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index f27fa31cea..e3c7f31b8c 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -32,5 +32,9 @@ require_once 'test_framework/phpbb_test_case_helpers.php';
require_once 'test_framework/phpbb_test_case.php';
require_once 'test_framework/phpbb_database_test_case.php';
require_once 'test_framework/phpbb_database_test_connection_manager.php';
-require_once 'test_framework/phpbb_functional_test_case.php';
-require_once 'test_framework/phpbb_ui_test_case.php';
+
+if (version_compare(PHP_VERSION,'5.3.19',">="))
+{
+ require_once 'test_framework/phpbb_functional_test_case.php';
+ require_once 'test_framework/phpbb_ui_test_case.php';
+}