Skip to content

Commit dcae9cc

Browse files
committed
Updated tests for Guaraní lang
1 parent c7940cb commit dcae9cc

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/Countries/ParaguayTest.php

+7-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,15 @@
1818
it('can get holidays in another locale', function (): void {
1919
CarbonImmutable::setTestNow('2024-01-01');
2020

21-
$holidays = Holidays::for(country: 'py', locale: 'en')->get();
21+
$holidays_en = Holidays::for(country: 'py', locale: 'en')->get();
2222

23-
expect($holidays[0]['name'])
23+
expect($holidays_en[0]['name'])
2424
->toBe("New Year's Day");
25+
26+
$holidays_gn = Holidays::for(country: 'py', locale: 'gn')->get();
27+
28+
expect($holidays_gn[0]['name'])
29+
->toBe("Ary Pyahu");
2530
});
2631

2732
it('can calculate Chacho Armistice holiday', function (int $year, int $valid_day, int $invalid_day): void {

0 commit comments

Comments
 (0)