[Security] Enable bcrypt validation and result length tests on all PHP versions

This commit is contained in:
Jakub Zalas 2015-12-17 18:05:04 +00:00
parent 5c302669eb
commit 0a496e7011

View File

@ -45,9 +45,6 @@ class BCryptPasswordEncoderTest extends \PHPUnit_Framework_TestCase
} }
} }
/**
* @requires PHP 5.3.7
*/
public function testResultLength() public function testResultLength()
{ {
$encoder = new BCryptPasswordEncoder(self::VALID_COST); $encoder = new BCryptPasswordEncoder(self::VALID_COST);
@ -55,9 +52,6 @@ class BCryptPasswordEncoderTest extends \PHPUnit_Framework_TestCase
$this->assertEquals(60, strlen($result)); $this->assertEquals(60, strlen($result));
} }
/**
* @requires PHP 5.3.7
*/
public function testValidation() public function testValidation()
{ {
$encoder = new BCryptPasswordEncoder(self::VALID_COST); $encoder = new BCryptPasswordEncoder(self::VALID_COST);