X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Fsrc%2FUtil%2FCryptoTest.php;h=76e3076f0f3efe10d7dee6c61dcf3421ac94bfa3;hb=0115329dc6a21366905fca494874c77269b507d5;hp=f3047effa1c18812e3c3f3360fea732ec92918ac;hpb=47095d70a9a8378cc14ebd515bcb2477e2710153;p=friendica.git diff --git a/tests/src/Util/CryptoTest.php b/tests/src/Util/CryptoTest.php index f3047effa1..76e3076f0f 100644 --- a/tests/src/Util/CryptoTest.php +++ b/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 *