Skip to content

Commit

Permalink
avoid collision with danmarkshavn in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptouuuu committed Nov 23, 2024
1 parent 775c150 commit 0e966dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/ClockTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ public function testLoggerUseNewTimezone()

$this
->forAll(
$gen(self::america()),
$gen(self::america())->filter(
// timezone that collides with other continents
static fn($pair) => $pair[0] !== 'danmarkshavn',
),
Set\Either::any(
$gen(self::africa()),
$gen(self::europe()),
Expand Down

0 comments on commit 0e966dd

Please sign in to comment.