Skip to content

Conversation

koddsson
Copy link
Contributor

@koddsson koddsson commented Jun 1, 2020

In #133 I made changes that were backed up by tests. Those tests relied on a mock of Date which did not work. The tests only ran green because I made the oversight of using current dates as the freeze date. Now that some time has passed, the tests are failing on master and this was discovered by @muan in #138.

This change changes the mock to actually freeze the time and fixes a off by one error in the tests.

koddsson and others added 2 commits June 1, 2020 19:53
Copy link
Contributor

@muan muan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🦡

@koddsson koddsson merged commit 487a0be into master Jun 2, 2020
@koddsson koddsson deleted the fix-bad-mock branch June 2, 2020 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants