aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-09-28 12:42:11 +0200
committerMarc Alexander <admin@m-a-styles.de>2013-09-28 12:42:11 +0200
commit3ebff0a96042ba366e316727cbb83b063bc0700d (patch)
tree6b5e62802b6a1e5d8b8d041c18adc663041cbfaa /tests/passwords
parent[feature/passwords] A few more corrections in methods due to namespacing (diff)
downloadphpbb-3ebff0a96042ba366e316727cbb83b063bc0700d.tar.gz
phpbb-3ebff0a96042ba366e316727cbb83b063bc0700d.tar.bz2
phpbb-3ebff0a96042ba366e316727cbb83b063bc0700d.zip
[feature/passwords] Pass config via service container to driver helper
This will get rid of the global $config in the driver helper PHPBB3-11610
Diffstat (limited to 'tests/passwords')
-rw-r--r--tests/passwords/manager_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/passwords/manager_test.php b/tests/passwords/manager_test.php
index c6ab731d7b..082b309501 100644
--- a/tests/passwords/manager_test.php
+++ b/tests/passwords/manager_test.php
@@ -26,7 +26,7 @@ class phpbb_passwords_manager_test extends PHPUnit_Framework_TestCase
// Prepare dependencies for manager and driver
$config = new \phpbb\config\config(array());
- $driver_helper = new phpbb\passwords\driver\helper;
+ $driver_helper = new phpbb\passwords\driver\helper($config);
$this->passwords_drivers = array(
'passwords.driver.bcrypt' => new phpbb\passwords\driver\bcrypt($config, $driver_helper),