generated from spatie/package-skeleton-php
-
-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
19af134
commit 7e16b45
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
tests/.pest/snapshots/Actions/BelgiumTest/it_can_calculate_belgian_holidays.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"Nieuwjaar": "2023-01-01T15:07:16.000000Z", | ||
"Dag van de Arbeid": "2023-05-01T15:07:16.000000Z", | ||
"Nationale Feestdag": "2023-07-21T15:07:16.000000Z", | ||
"OLV Hemelvaart": "2023-08-15T15:07:16.000000Z", | ||
"Allerheiligen": "2023-11-01T15:07:16.000000Z", | ||
"Wapenstilstand": "2023-11-11T15:07:16.000000Z", | ||
"Kerstmis": "2023-12-25T15:07:16.000000Z", | ||
"Paasmaandag": "2023-04-09T22:00:00.000000Z", | ||
"OH Hemelvaart": "2023-05-17T22:00:00.000000Z", | ||
"Pinkstermaandag": "2023-05-28T22:00:00.000000Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace Spatie\Holidays\Tests\Actions; | ||
|
||
use Spatie\Holidays\Actions\Belgium; | ||
|
||
it('can calculate belgian holidays', function () { | ||
$action = new Belgium(); | ||
|
||
expect($action->execute(2023))->toMatchSnapshot(); | ||
Check failure on line 10 in tests/Actions/BelgiumTest.php GitHub Actions / phpstan
|
||
}); |