Skip to content

Commit 54af1f3

Browse files
authored
Merge pull request #12428 from nanaya/more-random
Reduce chance of model factory collision
2 parents b98fc78 + 0503e40 commit 54af1f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/factories/BeatmapsetFileFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function configure(): static
2828
public function definition(): array
2929
{
3030
return [
31-
'file_size' => rand(10, 100),
31+
'file_size' => rand(10, 100000),
3232
'sha2_hash' => fn (array $attrs): string => hash(
3333
'sha256',
3434
static::generateContent($attrs['file_size']),

0 commit comments

Comments
 (0)