From 6165bfd1cfdba39b9b562dee4d51c53bd43181b6 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Wed, 13 Nov 2024 10:41:44 +0100 Subject: [PATCH] dev: Fix a test in PocketImportatorTest The test failed randomly when the same tag was generated twice. --- tests/jobs/PocketImportatorTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/jobs/PocketImportatorTest.php b/tests/jobs/PocketImportatorTest.php index 376c810e..edd7a66c 100644 --- a/tests/jobs/PocketImportatorTest.php +++ b/tests/jobs/PocketImportatorTest.php @@ -223,9 +223,9 @@ public function testImportPocketItemsImportTags(): void /** @var string */ $url = $this->fake('url'); /** @var string */ - $tag1 = $this->fake('word'); + $tag1 = $this->fakeUnique('word'); /** @var string */ - $tag2 = $this->fake('word'); + $tag2 = $this->fakeUnique('word'); $items = [ [ 'given_url' => $url,