Skip to content

Commit

Permalink
Merge pull request #1122 from maykinmedia/fix/flaky-e2e-test
Browse files Browse the repository at this point in the history
✅ Fix flaky e2e test due to unique constraint
  • Loading branch information
stevenbal authored Mar 29, 2024
2 parents f888c74 + 295336d commit 8f861ab
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/open_inwoner/search/tests/test_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,12 @@ def setUp(self):
)
self.tag1 = TagFactory.create(name="Tag 1")
self.tag2 = TagFactory.create(name="Tag 2")
self.org1 = OrganizationFactory.create(name="Organization 1")
self.org2 = OrganizationFactory.create(name="Organization 2")
self.org1 = OrganizationFactory.create(
name="Organization 1", type__name="organization_type1"
)
self.org2 = OrganizationFactory.create(
name="Organization 2", type__name="organization_type2"
)
self.category1 = CategoryFactory.create(name="Category 1")
self.category2 = CategoryFactory.create(name="Category 2")

Expand Down

0 comments on commit 8f861ab

Please sign in to comment.