aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/session/testable_factory.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/session/testable_factory.php b/tests/session/testable_factory.php
index 4bd7fa1366..3e25286480 100644
--- a/tests/session/testable_factory.php
+++ b/tests/session/testable_factory.php
@@ -96,9 +96,11 @@ class phpbb_session_testable_factory
'auth.provider.db',
new phpbb_mock_auth_provider()
);
+ $provider_collection = new \phpbb\auth\provider_collection($phpbb_container, $config);
+ $provider_collection->add('auth.provider.db');
$phpbb_container->set(
'auth.provider_collection',
- array('auth.provider.db' => $phpbb_container->get('auth.provider.db'))
+ $provider_collection
);
$session = new phpbb_mock_session_testable;