diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-02-02 14:09:09 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-02-02 14:09:09 +0100 |
commit | 292961a2771c9237197b9770b23a2a14a981c329 (patch) | |
tree | 5c9eee5425d2dd1b7c85648d08098d1ec729bdd5 /tests/passwords | |
parent | [feature/passwords] Correct docblock of phpbb_hash() function (diff) | |
download | phpbb-292961a2771c9237197b9770b23a2a14a981c329.tar.gz phpbb-292961a2771c9237197b9770b23a2a14a981c329.tar.bz2 phpbb-292961a2771c9237197b9770b23a2a14a981c329.zip |
[feature/passwords] Get rid of set_name/get_name methods for passwords drivers
PHPBB3-11610
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)); |