Skip to content

Commit

Permalink
Update tests/Countries/GermanyTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Nielsvanpach authored Jan 27, 2024
1 parent 7321dee commit a1a01af
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/Countries/GermanyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,4 @@
['nl','Nieuwjaar'],
['fr','Jour de l\'An']
]
);
it('cannot get translated holiday names for unsupported locales', function () {
Holidays::for(country: 'de', year: 2024, locale: 'xx')->get();
})->throws(InvalidLocale::class, 'Locale `xx` is not supported for country `Germany`.');
);

0 comments on commit a1a01af

Please sign in to comment.