]> git.mxchange.org Git - friendica.git/commitdiff
Removed unnecessary function
authorPhilipp Holzer <admin@philipp.info>
Mon, 5 Nov 2018 20:17:46 +0000 (21:17 +0100)
committerPhilipp Holzer <admin@philipp.info>
Mon, 5 Nov 2018 20:17:46 +0000 (21:17 +0100)
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
         *