Skip to content
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

Merged
merged 6 commits into from
Oct 17, 2017
Merged

Lithuanian holidays provider #67

merged 6 commits into from
Oct 17, 2017

Conversation

lukosius
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes

Added Lithuanian provider containing official holidays.

Will add other holiday types (there is a lot) later this week.

@stelgenhof stelgenhof self-requested a review October 11, 2017 23:25
@stelgenhof stelgenhof added this to the v1.7.0 milestone Oct 11, 2017
@stelgenhof
Copy link
Member

Thanks @lukosius ! I'll have a look at it as soon as possible.

*/
public function testHoliday()
{
$year = 2017;
Copy link
Member

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).

Copy link
Member

@stelgenhof stelgenhof left a 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?

Copy link
Member

@stelgenhof stelgenhof left a 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.

@stelgenhof stelgenhof self-assigned this Oct 17, 2017
@stelgenhof stelgenhof merged commit 847c9ae into azuyalabs:master Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants