]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Util/CryptoTest.php
Removed unnecessary function
[friendica.git] / tests / src / Util / CryptoTest.php
index f3047effa1c18812e3c3f3360fea732ec92918ac..76e3076f0f3efe10d7dee6c61dcf3421ac94bfa3 100644 (file)
@@ -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
         *