Skip to content

Commit

Permalink
Merge pull request #1443 from VATSIM-UK/test-cid-unique-numbers
Browse files Browse the repository at this point in the history
test: make user cids unique in factory
  • Loading branch information
AndyTWF authored Nov 11, 2023
2 parents 0631a53 + f30060e commit 7aa0b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/factories/User/UserFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class UserFactory extends Factory
public function definition()
{
return [
'id' => $this->faker->numberBetween(800000, 1900000),
'id' => $this->faker->unique()->numberBetween(800000, 1900000),
];
}
}

0 comments on commit 7aa0b92

Please sign in to comment.