Skip to content

Commit

Permalink
Louis Riel Day is only celebrated from 2008.
Browse files Browse the repository at this point in the history
  • Loading branch information
stelgenhof committed May 21, 2021
1 parent 7010b91 commit f17270d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tests/Canada/Manitoba/ManitobaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,18 @@ protected function setUp(): void
*/
public function testOfficialHolidays(): void
{
$this->assertDefinedHolidays([
$holidays = [
'goodFriday',
'christmasDay',
'victoriaDay',
'terryFoxDay',
'louisRielDay',
], self::REGION, $this->year, Holiday::TYPE_OFFICIAL);
];

if (2008 <= $this->year) {
$holidays[] = 'louisRielDay';
}

$this->assertDefinedHolidays($holidays, self::REGION, $this->year, Holiday::TYPE_OFFICIAL);
}

/**
Expand Down

0 comments on commit f17270d

Please sign in to comment.