diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2012-07-05 17:51:07 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2012-10-28 08:03:05 +0100 |
commit | 99d5f42927eaa935cad326cb6874ae8fc0dc5252 (patch) | |
tree | d384098a31de063544d76b7ff740f88b58e9bbc6 /Tests/Core/Util | |
parent | 255196983ec0c1dc944057816fbba25b9ff8276c (diff) | |
download | symfony-security-99d5f42927eaa935cad326cb6874ae8fc0dc5252.zip symfony-security-99d5f42927eaa935cad326cb6874ae8fc0dc5252.tar.gz symfony-security-99d5f42927eaa935cad326cb6874ae8fc0dc5252.tar.bz2 |
simplified the Prng code
Diffstat (limited to 'Tests/Core/Util')
-rwxr-xr-x | Tests/Core/Util/PrngTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Core/Util/PrngTest.php b/Tests/Core/Util/PrngTest.php index 7c9b2e2..23afd30 100755 --- a/Tests/Core/Util/PrngTest.php +++ b/Tests/Core/Util/PrngTest.php @@ -147,11 +147,11 @@ class PrngTest extends \PHPUnit_Framework_TestCase $prngs = array(); // openssl with fallback - $prng = new Prng(new NullSeedProvider()); + $prng = new Prng(); $prngs[] = array($prng); // no-openssl with custom seed provider - $prng = new Prng(new NullSeedProvider()); + $prng = new Prng(sys_get_temp_dir().'/_sf2.seed'); $this->disableOpenSsl($prng); $prngs[] = array($prng); |