aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_test_case_helpers.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-11-27 08:10:44 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-11-27 08:10:44 +0100
commitcbbba2dcc77c8c96340f00c7f01bb66227e8b778 (patch)
treeff3b2927fc78e51d43c7dbb0ff39abf67e1f38a2 /tests/test_framework/phpbb_test_case_helpers.php
parenta8e2f4256b0f1330db8eb799bb26624cf185c6d4 (diff)
parent5ed02c21493ccbde7d5072cd74c0b118153f508c (diff)
downloadforums-cbbba2dcc77c8c96340f00c7f01bb66227e8b778.tar
forums-cbbba2dcc77c8c96340f00c7f01bb66227e8b778.tar.gz
forums-cbbba2dcc77c8c96340f00c7f01bb66227e8b778.tar.bz2
forums-cbbba2dcc77c8c96340f00c7f01bb66227e8b778.tar.xz
forums-cbbba2dcc77c8c96340f00c7f01bb66227e8b778.zip
Merge pull request #5745 from marc1706/ticket/16223
[ticket/16223] Remove no longer supported memcache driver
Diffstat (limited to 'tests/test_framework/phpbb_test_case_helpers.php')
-rw-r--r--tests/test_framework/phpbb_test_case_helpers.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/test_framework/phpbb_test_case_helpers.php b/tests/test_framework/phpbb_test_case_helpers.php
index 807a64d810..9a2ea275d0 100644
--- a/tests/test_framework/phpbb_test_case_helpers.php
+++ b/tests/test_framework/phpbb_test_case_helpers.php
@@ -173,6 +173,16 @@ class phpbb_test_case_helpers
{
$config['fulltext_sphinx_id'] = $fulltext_sphinx_id;
}
+
+ if (isset($phpbb_memcached_host))
+ {
+ $config['memcached_host'] = $phpbb_memcached_host;
+ }
+
+ if (isset($phpbb_memcached_port))
+ {
+ $config['memcached_port'] = $phpbb_memcached_port;
+ }
}
if (isset($_SERVER['PHPBB_TEST_DBMS']))
@@ -205,6 +215,16 @@ class phpbb_test_case_helpers
$config['redis_port'] = $_SERVER['PHPBB_TEST_REDIS_PORT'];
}
+ if (isset($_SERVER['PHPBB_TEST_MEMCACHED_HOST']))
+ {
+ $config['memcached_host'] = $_SERVER['PHPBB_TEST_MEMCACHED_HOST'];
+ }
+
+ if (isset($_SERVER['PHPBB_TEST_MEMCACHED_PORT']))
+ {
+ $config['memcached_port'] = $_SERVER['PHPBB_TEST_MEMCACHED_PORT'];
+ }
+
return $config;
}