diff --git a/Tests/PasswordTest.php b/Tests/PasswordTest.php index bc30245..630b793 100644 --- a/Tests/PasswordTest.php +++ b/Tests/PasswordTest.php @@ -75,7 +75,7 @@ class PasswordTest extends \PHPUnit_Framework_TestCase $password = new password(); $res = $password->cryptPassword("AAA", "CRYPT_BLOWFISH"); $this->assertSame( - substr($res, 0, 4) === "$2y$" && strlen($res) === 24, + substr($res, 0, 4) === "$2y$" && strlen($res) > 24, true ); }