1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/12620] Fix session tests

PHPBB3-12620
This commit is contained in:
Tristan Darricau
2014-11-19 18:08:31 +01:00
parent 6019e51fed
commit 91daa73663
2 changed files with 6 additions and 0 deletions

View File

@@ -204,6 +204,11 @@ class phpbb_functional_test_case extends phpbb_test_case
{
if (!$this->cache)
{
global $phpbb_container;
$phpbb_container = new phpbb_mock_container_builder();
$phpbb_container->setParameter('core.environment', PHPBB_ENVIRONMENT);
$this->cache = new \phpbb\cache\driver\file;
}