Skip to content

Commit 4173dc3

Browse files
committed
fix(factory): refine status generation in CompanyProfileFactory
- Updated 'status' to use a more appropriate range with `numberBetween(1, 10)`. Why settle for randomness when you can be precisely random? 🎯🔢
1 parent 01ed3e8 commit 4173dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workbench/database/factories/CompanyProfileFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function definition(): array
1717
return [
1818
'address' => fake()->address(),
1919
'website' => fake()->url(),
20-
'status' => fake()->randomNumber(),
20+
'status' => fake()->numberBetween(1, 10),
2121
'created_at' => Carbon::now(),
2222
'updated_at' => Carbon::now(),
2323
];

0 commit comments

Comments
 (0)