aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-08-10 15:14:00 +0200
committerTristan Darricau <github@nicofuma.fr>2014-08-11 01:17:01 +0200
commit4683864b4bb710a32a6a9078bfa2c7d929c3f1a1 (patch)
treed51ef7bcccb82db25aad4e8bea2dabfe36d2b93f
parentfa2ac1f27126292a24aa33136b2d3a7f1832ea47 (diff)
downloadforums-4683864b4bb710a32a6a9078bfa2c7d929c3f1a1.tar
forums-4683864b4bb710a32a6a9078bfa2c7d929c3f1a1.tar.gz
forums-4683864b4bb710a32a6a9078bfa2c7d929c3f1a1.tar.bz2
forums-4683864b4bb710a32a6a9078bfa2c7d929c3f1a1.tar.xz
forums-4683864b4bb710a32a6a9078bfa2c7d929c3f1a1.zip
[ticket/11854] Update tests
PHPBB3-11854
-rw-r--r--tests/auth/provider_db_test.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auth/provider_db_test.php b/tests/auth/provider_db_test.php
index 744f955531..e33eae6b54 100644
--- a/tests/auth/provider_db_test.php
+++ b/tests/auth/provider_db_test.php
@@ -52,7 +52,9 @@ class phpbb_auth_provider_db_test extends phpbb_database_test_case
// Set up passwords manager
$passwords_manager = new \phpbb\passwords\manager($config, $passwords_drivers, $passwords_helper, array_keys($passwords_drivers));
- $provider = new \phpbb\auth\provider\db($db, $config, $passwords_manager, $request, $user, $phpbb_root_path, $phpEx);
+ $phpbb_container = new phpbb_mock_container_builder();
+
+ $provider = new \phpbb\auth\provider\db($db, $config, $passwords_manager, $request, $user, $phpbb_container, $phpbb_root_path, $phpEx);
if (version_compare(PHP_VERSION, '5.3.7', '<'))
{
$password_hash = '$2a$10$e01Syh9PbJjUkio66eFuUu4FhCE2nRgG7QPc1JACalsPXcIuG2bbi';