aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_functional_test_case.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-03-24 21:15:13 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-03-24 21:15:13 +0100
commit23be4d8af21319644a008670c292ca19044430cd (patch)
tree7b69235ea54ec3555fb66ba3f32194d7c586d555 /tests/test_framework/phpbb_functional_test_case.php
parentd2ecbfcc1b60928bfc962139978eadcae43627ab (diff)
parent56c2caf6c0778c0da48fe0ac688c893777b89ee4 (diff)
downloadforums-23be4d8af21319644a008670c292ca19044430cd.tar
forums-23be4d8af21319644a008670c292ca19044430cd.tar.gz
forums-23be4d8af21319644a008670c292ca19044430cd.tar.bz2
forums-23be4d8af21319644a008670c292ca19044430cd.tar.xz
forums-23be4d8af21319644a008670c292ca19044430cd.zip
Merge pull request #4237 from Nicofuma/ticket/14555
[ticket/14555] Uniformize cache directory usages
Diffstat (limited to 'tests/test_framework/phpbb_functional_test_case.php')
-rw-r--r--tests/test_framework/phpbb_functional_test_case.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php
index 53519617b3..d234642898 100644
--- a/tests/test_framework/phpbb_functional_test_case.php
+++ b/tests/test_framework/phpbb_functional_test_case.php
@@ -209,10 +209,11 @@ class phpbb_functional_test_case extends phpbb_test_case
{
if (!$this->cache)
{
- global $phpbb_container;
+ global $phpbb_container, $phpbb_root_path;
$phpbb_container = new phpbb_mock_container_builder();
$phpbb_container->setParameter('core.environment', PHPBB_ENVIRONMENT);
+ $phpbb_container->setParameter('core.cache_dir', $phpbb_root_path . 'cache/' . PHPBB_ENVIRONMENT . '/');
$this->cache = new \phpbb\cache\driver\file;
}