diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-12-22 14:04:37 +0100 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-12-22 14:04:37 +0100 |
commit | aac9bd21f08abfb88e533e50bafb29afc0f9b382 (patch) | |
tree | 5cd64424a6215882dee79c43c41e263801288bee /Core/Tests/Encoder | |
parent | e3d856ff389c4741c98d78b19716e49b2e4ae70f (diff) | |
parent | 3cc1034becc10c507ec891414457d5f826ff405f (diff) | |
download | symfony-security-aac9bd21f08abfb88e533e50bafb29afc0f9b382.zip symfony-security-aac9bd21f08abfb88e533e50bafb29afc0f9b382.tar.gz symfony-security-aac9bd21f08abfb88e533e50bafb29afc0f9b382.tar.bz2 |
Merge branch '2.3' into 2.7
* 2.3:
Clean EOL whitespace
[travis] Fix
[Routing] Reduce memory usage of a high consuming test case
use requires annotation
skip bcrypt tests on incompatible platforms
Conflicts:
.travis.yml
Diffstat (limited to 'Core/Tests/Encoder')
-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); |