Skip to content

Commit 0a496e7

Browse files
committed
[Security] Enable bcrypt validation and result length tests on all PHP versions
1 parent 5c30266 commit 0a496e7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Symfony/Component/Security/Tests/Core/Encoder/BCryptPasswordEncoderTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,13 @@ public function testCostInRange()
4545
}
4646
}
4747

48-
/**
49-
* @requires PHP 5.3.7
50-
*/
5148
public function testResultLength()
5249
{
5350
$encoder = new BCryptPasswordEncoder(self::VALID_COST);
5451
$result = $encoder->encodePassword(self::PASSWORD, null);
5552
$this->assertEquals(60, strlen($result));
5653
}
5754

58-
/**
59-
* @requires PHP 5.3.7
60-
*/
6155
public function testValidation()
6256
{
6357
$encoder = new BCryptPasswordEncoder(self::VALID_COST);

0 commit comments

Comments
 (0)