diff options
Diffstat (limited to 'tests/passwords')
-rw-r--r-- | tests/passwords/drivers_test.php | 5 | ||||
-rw-r--r-- | tests/passwords/manager_test.php | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/tests/passwords/drivers_test.php b/tests/passwords/drivers_test.php index fd45c22fc1..2d26be7da5 100644 --- a/tests/passwords/drivers_test.php +++ b/tests/passwords/drivers_test.php @@ -21,11 +21,6 @@ class phpbb_passwords_helper_test extends PHPUnit_Framework_TestCase 'passwords.driver.salted_md5' => new \phpbb\passwords\driver\salted_md5($config, $this->driver_helper), 'passwords.driver.phpass' => new \phpbb\passwords\driver\phpass($config, $this->driver_helper), ); - - foreach ($this->passwords_drivers as $key => $driver) - { - $driver->set_name($key); - } } public function data_helper_encode64() diff --git a/tests/passwords/manager_test.php b/tests/passwords/manager_test.php index e965e3a692..11efaa5afd 100644 --- a/tests/passwords/manager_test.php +++ b/tests/passwords/manager_test.php @@ -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)); |