Skip to content

Commit

Permalink
increase uniqueness community key factory (#11645)
Browse files Browse the repository at this point in the history
  • Loading branch information
esizer authored Sep 27, 2024
1 parent 6e0c2fd commit 7d48ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/database/factories/CommunityFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function definition()
$description = $this->faker->sentence();

return [
'key' => $this->faker->slug(2),
'key' => $this->faker->unique()->slug(5),
'name' => ['en' => $name.' EN', 'fr' => $name.' FR'],
'description' => ['en' => $description.' EN', 'fr' => $description.' FR'],
];
Expand Down

0 comments on commit 7d48ed6

Please sign in to comment.