Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 7a912ff

Browse files
committed
Update timezone-select tests
1 parent 405a45f commit 7a912ff

File tree

4 files changed

+18
-679
lines changed

4 files changed

+18
-679
lines changed

tests/Components/Inputs/TimezoneSelectTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function can_be_rendered(): void
2626
$this->withViewErrors([]);
2727

2828
$this->assertMatchesSnapshot(
29-
$this->renderComponent('<x-timezone-select name="timezone" />')
29+
$this->renderComponent('<x-timezone-select name="timezone" only="General" />')
3030
);
3131
}
3232

@@ -36,7 +36,7 @@ public function can_include_just_a_subset_of_timezone_regions(): void
3636
$this->withViewErrors([]);
3737

3838
$this->assertMatchesSnapshot(
39-
$this->renderComponent('<x-timezone-select name="timezone" only="America" />')
39+
$this->renderComponent('<x-timezone-select name="timezone" only="General" />')
4040
);
4141
}
4242

@@ -49,7 +49,7 @@ public function can_include_multiple_region_subsets(): void
4949
<x-timezone-select name="timezone" :only="\$only" />
5050
HTML;
5151

52-
$regions = [TimeZoneRegion::GENERAL, TimeZoneRegion::ASIA];
52+
$regions = [TimeZoneRegion::GENERAL, TimeZoneRegion::ANTARCTICA];
5353

5454
$this->assertMatchesSnapshot($this->renderComponent($template, ['only' => $regions]));
5555
}

0 commit comments

Comments
 (0)