-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lithuanian holidays provider #67
Lithuanian holidays provider #67
Conversation
Thanks @lukosius ! I'll have a look at it as soon as possible. |
tests/Lithuania/EasterDayTest.php
Outdated
*/ | ||
public function testHoliday() | ||
{ | ||
$year = 2017; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's recommended not to hardcode a unit test for certain year. (Please have a look at some of the other countries' unit tests).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. Can you avoid hardcoded years for the unit tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the helper functions for testing Easter and Easter Monday! I thought some other unit tests already have it, but they don't.
Added Lithuanian provider containing official holidays.
Will add other holiday types (there is a lot) later this week.