diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2012-10-28 09:01:53 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2012-10-28 09:01:53 +0100 |
commit | c7e238ec401e746a6423687097ca26d7f50d0860 (patch) | |
tree | 7b1f48d14c5b6caa541f324cb1d005c31f9f1e8a /Tests/Core/Util/SecureRandomTest.php | |
parent | cd11bd304daebd23b42566a1bbc8ec3a543e3c8d (diff) | |
download | symfony-security-c7e238ec401e746a6423687097ca26d7f50d0860.zip symfony-security-c7e238ec401e746a6423687097ca26d7f50d0860.tar.gz symfony-security-c7e238ec401e746a6423687097ca26d7f50d0860.tar.bz2 |
[Security] fixed tests when OpenSSL is not installed
Diffstat (limited to 'Tests/Core/Util/SecureRandomTest.php')
-rwxr-xr-x | Tests/Core/Util/SecureRandomTest.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Tests/Core/Util/SecureRandomTest.php b/Tests/Core/Util/SecureRandomTest.php index 1a4bdbd..230a26a 100755 --- a/Tests/Core/Util/SecureRandomTest.php +++ b/Tests/Core/Util/SecureRandomTest.php @@ -154,13 +154,10 @@ class SecureRandomTest extends \PHPUnit_Framework_TestCase { $secureRandoms = array(); - // openssl - $secureRandom = new SecureRandom(); // only add if openssl is indeed present + $secureRandom = new SecureRandom(); if ($this->hasOpenSsl($secureRandom)) { $secureRandoms[] = array($secureRandom); - } else { - $this->markTestSkipped('OpenSSL is not available'); } // no-openssl with custom seed provider |