mirror of
https://github.com/friendica/friendica
synced 2024-11-14 16:07:37 +01:00
Removed unnecessary function
This commit is contained in:
parent
47095d70a9
commit
6949841947
|
@ -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…
Reference in a new issue