Fix tests with model events

This commit is contained in:
DaneEveritt 2022-05-29 17:07:34 -04:00
parent 2fc5a734f9
commit f1c1699994
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 7 additions and 25 deletions

View file

@ -22,7 +22,7 @@ class AllocationFactory extends Factory
{
return [
'ip' => $this->faker->unique()->ipv4,
'port' => $this->faker->unique()->randomNumber(5),
'port' => $this->faker->unique()->numberBetween(10000, 20000),
];
}