diff options
author | Andrey Andreev <narf@devilix.net> | 2015-02-15 07:16:59 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-02-15 07:16:59 +0100 |
commit | dd35092476ec9525ba6f6352241847f040e65187 (patch) | |
tree | 03f5054e109a4ef11132abe52f5109cb60aa2f57 /tests/codeigniter/core/compat | |
parent | b7cea9cab71352516ec290b09495d456c8db3e64 (diff) |
[ci skip] Fix a PHP7 BC break in a test that wouldn't even run
Diffstat (limited to 'tests/codeigniter/core/compat')
-rw-r--r-- | tests/codeigniter/core/compat/password_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codeigniter/core/compat/password_test.php b/tests/codeigniter/core/compat/password_test.php index c37c6ac0c..8a507d14a 100644 --- a/tests/codeigniter/core/compat/password_test.php +++ b/tests/codeigniter/core/compat/password_test.php @@ -132,7 +132,7 @@ class password_test extends CI_TestCase { $this->assertFalse(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASSWORD_BCRYPT, array('cost' => 10, 'foo' => 3))); // invalid: different (lower) cost - $this->assertTrue(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASSWORD_BCRYPT, array('cost' => 09))); + $this->assertTrue(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASSWORD_BCRYPT, array('cost' => 9))); // invalid: different (higher) cost $this->assertTrue(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASSWORD_BCRYPT, array('cost' => 11))); |