1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

[feature/passwords] Get rid of set_name/get_name methods for passwords drivers

PHPBB3-11610
This commit is contained in:
Marc Alexander
2014-02-02 14:09:09 +01:00
parent 85f1e8afa5
commit 292961a277
10 changed files with 8 additions and 75 deletions

View File

@@ -28,11 +28,6 @@ class phpbb_passwords_manager_test extends PHPUnit_Framework_TestCase
'passwords.driver.phpass' => new \phpbb\passwords\driver\phpass($config, $this->driver_helper),
);
foreach ($this->passwords_drivers as $key => $driver)
{
$driver->set_name($key);
}
$this->helper = new \phpbb\passwords\helper;
// Set up passwords manager
$this->manager = new \phpbb\passwords\manager($config, $this->passwords_drivers, $this->helper, array_keys($this->passwords_drivers));