diff --git a/tests/Modifiers/RandomTest.php b/tests/Modifiers/RandomTest.php index 1efa685140..0627c4247f 100644 --- a/tests/Modifiers/RandomTest.php +++ b/tests/Modifiers/RandomTest.php @@ -24,10 +24,12 @@ public function it_returns_one_random_item($input): void public static function inputsProvider() { + $range = range(1, 5000); + return [ - 'array' => [range('a', 'z')], - 'collection' => [collect(range('a', 'z'))], - 'query builder' => [Mockery::mock(Builder::class)->shouldReceive('get')->andReturn(collect(range('a', 'z')))->getMock()], + 'array' => [$range], + 'collection' => [collect($range)], + 'query builder' => [Mockery::mock(Builder::class)->shouldReceive('get')->andReturn(collect($range))->getMock()], ]; }