diff --git a/tests/.pest/snapshots/Countries/PakistanTest/it_can_calculate_pakistan_holidays.snap b/tests/.pest/snapshots/Countries/PakistanTest/it_can_calculate_pakistan_holidays.snap new file mode 100644 index 000000000..59b4a0503 --- /dev/null +++ b/tests/.pest/snapshots/Countries/PakistanTest/it_can_calculate_pakistan_holidays.snap @@ -0,0 +1,26 @@ +[ + { + "name": "Kashmir Solidarity Day", + "date": "2024-02-05" + }, + { + "name": "Pakistan Day", + "date": "2024-03-23" + }, + { + "name": "Labour Day", + "date": "2024-05-01" + }, + { + "name": "Independence Day", + "date": "2024-08-14" + }, + { + "name": "Iqbal Day", + "date": "2024-11-09" + }, + { + "name": "Quaid-e-Azam Day", + "date": "2024-12-25" + } +] \ No newline at end of file diff --git a/tests/Countries/PakistanTest.php b/tests/Countries/PakistanTest.php new file mode 100644 index 000000000..8f8695f3f --- /dev/null +++ b/tests/Countries/PakistanTest.php @@ -0,0 +1,18 @@ +get(); + + expect($holidays) + ->toBeArray() + ->not()->toBeEmpty(); + + expect(formatDates($holidays))->toMatchSnapshot(); +});