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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user