diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-12-22 14:05:38 +0100 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-12-22 14:05:38 +0100 |
commit | 18dda1a4d747068ef1639b6761881426c94f2337 (patch) | |
tree | 1b3233f2b70c362b521b51e70ae33349a04f8d4e | |
parent | 7e232cb04c6d8d8aaaa288784d8313799b858448 (diff) | |
parent | 91db38a0dc428c17645c274634a355f11d2faa66 (diff) | |
download | symfony-security-18dda1a4d747068ef1639b6761881426c94f2337.zip symfony-security-18dda1a4d747068ef1639b6761881426c94f2337.tar.gz symfony-security-18dda1a4d747068ef1639b6761881426c94f2337.tar.bz2 |
Merge branch '3.0'
* 3.0:
Clean EOL whitespace
[travis] Fix
[Routing] Reduce memory usage of a high consuming test case
use requires annotation
skip bcrypt tests on incompatible platforms
-rw-r--r-- | Core/Tests/Encoder/BCryptPasswordEncoderTest.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Core/Tests/Encoder/BCryptPasswordEncoderTest.php b/Core/Tests/Encoder/BCryptPasswordEncoderTest.php index 40de8af..ce6bee5 100644 --- a/Core/Tests/Encoder/BCryptPasswordEncoderTest.php +++ b/Core/Tests/Encoder/BCryptPasswordEncoderTest.php @@ -45,6 +45,9 @@ class BCryptPasswordEncoderTest extends \PHPUnit_Framework_TestCase } } + /** + * @requires PHP 5.3.7 + */ public function testResultLength() { $encoder = new BCryptPasswordEncoder(self::VALID_COST); @@ -52,6 +55,9 @@ class BCryptPasswordEncoderTest extends \PHPUnit_Framework_TestCase $this->assertEquals(60, strlen($result)); } + /** + * @requires PHP 5.3.7 + */ public function testValidation() { $encoder = new BCryptPasswordEncoder(self::VALID_COST); @@ -70,6 +76,9 @@ class BCryptPasswordEncoderTest extends \PHPUnit_Framework_TestCase $encoder->encodePassword(str_repeat('a', 73), 'salt'); } + /** + * @requires PHP 5.3.7 + */ public function testCheckPasswordLength() { $encoder = new BCryptPasswordEncoder(self::VALID_COST); |