aboutsummaryrefslogtreecommitdiffstats
path: root/tests/session
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-11-19 18:08:31 +0100
committerTristan Darricau <github@nicofuma.fr>2014-11-20 21:09:44 +0100
commit91daa736639fca67b2d330d0f20aabbd55eec2cf (patch)
treec54f585dc1599e774a5a26210737d6569162fe8b /tests/session
parent6019e51fedbb90f84a17155f1076af9aec37b65b (diff)
downloadforums-91daa736639fca67b2d330d0f20aabbd55eec2cf.tar
forums-91daa736639fca67b2d330d0f20aabbd55eec2cf.tar.gz
forums-91daa736639fca67b2d330d0f20aabbd55eec2cf.tar.bz2
forums-91daa736639fca67b2d330d0f20aabbd55eec2cf.tar.xz
forums-91daa736639fca67b2d330d0f20aabbd55eec2cf.zip
[ticket/12620] Fix session tests
PHPBB3-12620
Diffstat (limited to 'tests/session')
-rw-r--r--tests/session/testable_factory.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/session/testable_factory.php b/tests/session/testable_factory.php
index 3e25286480..505eb7006f 100644
--- a/tests/session/testable_factory.php
+++ b/tests/session/testable_factory.php
@@ -96,6 +96,7 @@ class phpbb_session_testable_factory
'auth.provider.db',
new phpbb_mock_auth_provider()
);
+ $phpbb_container->setParameter('core.environment', PHPBB_ENVIRONMENT);
$provider_collection = new \phpbb\auth\provider_collection($phpbb_container, $config);
$provider_collection->add('auth.provider.db');
$phpbb_container->set(