summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2015-12-22 14:04:57 +0100
committerNicolas Grekas <nicolas.grekas@gmail.com>2015-12-22 14:04:57 +0100
commitf7c7007dfb3c2e62fdc7845a9174ee676af1a3ad (patch)
treeafc534c2b0724110ab8a18f49d3ac182742daeb6
parentf71752fe4a6da47022076606f151a1f3ca514af7 (diff)
parentaac9bd21f08abfb88e533e50bafb29afc0f9b382 (diff)
downloadsymfony-security-f7c7007dfb3c2e62fdc7845a9174ee676af1a3ad.zip
symfony-security-f7c7007dfb3c2e62fdc7845a9174ee676af1a3ad.tar.gz
symfony-security-f7c7007dfb3c2e62fdc7845a9174ee676af1a3ad.tar.bz2
Merge branch '2.7' into 2.8
* 2.7: 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.php9
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);