summaryrefslogtreecommitdiffstats
path: root/Core/Tests/Util
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Tests/Util')
-rw-r--r--Core/Tests/Util/SecureRandomTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Core/Tests/Util/SecureRandomTest.php b/Core/Tests/Util/SecureRandomTest.php
index 4cfdb2c..e3fde69 100644
--- a/Core/Tests/Util/SecureRandomTest.php
+++ b/Core/Tests/Util/SecureRandomTest.php
@@ -111,8 +111,8 @@ class SecureRandomTest extends \PHPUnit_Framework_TestCase
{
$b = $this->getBitSequence($secureRandom, 20000);
- $longestRun = 0;
- $currentRun = $lastBit = null;
+ $longestRun = $currentRun = 0;
+ $lastBit = null;
for ($i = 0; $i < 20000; $i++) {
if ($lastBit === $b[$i]) {
$currentRun += 1;