Skip to content

Commit

Permalink
Updated tests for Guaraní lang
Browse files Browse the repository at this point in the history
  • Loading branch information
hschimpf committed Dec 18, 2024
1 parent c7940cb commit dcae9cc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/Countries/ParaguayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,15 @@
it('can get holidays in another locale', function (): void {
CarbonImmutable::setTestNow('2024-01-01');

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

expect($holidays[0]['name'])
expect($holidays_en[0]['name'])
->toBe("New Year's Day");

$holidays_gn = Holidays::for(country: 'py', locale: 'gn')->get();

expect($holidays_gn[0]['name'])
->toBe("Ary Pyahu");
});

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

0 comments on commit dcae9cc

Please sign in to comment.