From 6949841947483b2b22bd8760c9ab30e70ee32294 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Mon, 5 Nov 2018 21:17:46 +0100 Subject: [PATCH] Removed unnecessary function --- tests/src/Util/CryptoTest.php | 14 -------------- 1 file changed, 14 deletions(-) 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 * -- 2.39.5