Browse Source

Removed unnecessary function

pull/6077/head
Philipp Holzer 3 years ago
parent
commit
6949841947
No known key found for this signature in database GPG Key ID: 517BE60E2CE5C8A5
  1. 14
      tests/src/Util/CryptoTest.php

14
tests/src/Util/CryptoTest.php

@ -7,20 +7,6 @@ use PHPUnit\Framework\TestCase;
class CryptoTest extends TestCase
{
/**
* Replaces rand results with given mocks
*
*/
private function assertRand($min, $max)
{
global $phpMock;
$phpMock['rand'] = function($mMin, $mMax) use ($min, $max) {
$this->assertEquals($min, $mMin);
$this->assertEquals($max, $mMax);
return 1;
};
}
/**
* Replaces random_int results with given mocks
*

Loading…
Cancel
Save