diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2014-09-21 15:54:52 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2014-09-21 15:54:52 +0530 |
commit | 29ffddee71e21751ce1e108dd486642caf2d75bf (patch) | |
tree | 706343fd989de68ea5610b4504f99622d348e95c /tests/bootstrap.php | |
parent | 7fa596a991add3e47c7e5a7033256073f1a50198 (diff) | |
download | forums-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.php | 8 |
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';
+}
|