Fix flaky test from duplicate Article factory URLs
Some checks failed
CI / ci (push) Successful in 5m14s
CI / ci (pull_request) Failing after 5m13s

This commit is contained in:
myrmidex 2026-03-18 21:39:22 +01:00
parent a7317e376f
commit ff855facda

View file

@ -20,7 +20,7 @@ public function definition(): array
{ {
return [ return [
'feed_id' => Feed::factory(), 'feed_id' => Feed::factory(),
'url' => $this->faker->url(), 'url' => $this->faker->unique()->url(),
'title' => $this->faker->sentence(), 'title' => $this->faker->sentence(),
'description' => $this->faker->paragraph(), 'description' => $this->faker->paragraph(),
'content' => $this->faker->paragraphs(3, true), 'content' => $this->faker->paragraphs(3, true),