fix(factory): correct code range in ArcadiaBrandFactory
Updated the 'code' field to generate unique numbers between 100 and 999.
This commit is contained in:
parent
376324d71a
commit
e10bd7741d
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ final class ArcadiaBrandFactory extends Factory
|
|||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'code' => fake()->unique()->numberBetween(1, 999),
|
||||
'code' => fake()->unique()->numberBetween(100, 999),
|
||||
'libelle' => fake()->company(),
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue