Skip to content

Commit

Permalink
Merge pull request #33 from ickbinhier/master
Browse files Browse the repository at this point in the history
add 4 Bundesländer to $reformationDayStates
  • Loading branch information
FlorianKoerner authored Aug 14, 2018
2 parents 45d842d + 56a9839 commit f35b6b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/Provider/DE.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ public function getHolidaysByYear($year)
self::STATE_SN,
self::STATE_ST,
self::STATE_TH,
self::STATE_SH,
self::STATE_HH,
self::STATE_NI,
self::STATE_HB
);
}

Expand Down
5 changes: 2 additions & 3 deletions test/Provider/DETest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@ public function dateProvider()
array('2014-06-19', DE::STATE_SH, null),
array('2014-11-01', DE::STATE_BW, array('name' => 'Allerheiligen')),
array('2014-11-01', DE::STATE_SH, null),
array('2016-10-31', DE::STATE_SH, null),
array('2016-10-31', DE::STATE_SH, array('name' => 'Reformationstag')),
array('2016-10-31', DE::STATE_BB, array('name' => 'Reformationstag')),
array('2017-10-31', DE::STATE_SH, array('name' => 'Reformationstag')),
array('2017-10-31', DE::STATE_BB, array('name' => 'Reformationstag')),
array('2018-10-31', DE::STATE_SH, null),
array('2018-10-31', DE::STATE_SH, array('name' => 'Reformationstag')),
array('2018-11-21', DE::STATE_BB, null),
array('2018-11-21', DE::STATE_SN, array('name' => 'Buß- und Bettag')),
array('2018-10-31', DE::STATE_SH, null),
);
}
}

0 comments on commit f35b6b8

Please sign in to comment.