Skip to content

Commit

Permalink
✅ Reducing test flakiness
Browse files Browse the repository at this point in the history
Making sure that the unique mapTileLayer identifier uses unique test values
  • Loading branch information
robinmolen committed Dec 18, 2024
1 parent 738be59 commit 89c8cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openforms/config/tests/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Meta:


class MapTileLayerFactory(factory.django.DjangoModelFactory):
identifier = factory.Faker("word")
identifier = factory.Sequence(lambda n: f"map-tile-layer-{n}")
url = factory.Sequence(lambda n: f"http://example-{n}.com")
label = factory.Faker("word")

Expand Down

0 comments on commit 89c8cab

Please sign in to comment.