Skip to content

Commit 7a2cd52

Browse files
committed
Reduce chance of model factory collision
1 parent 9b9e69d commit 7a2cd52

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)