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

[Unit tests] Use the same timestamp everywhere #289

Merged
merged 3 commits into from
May 16, 2018

Conversation

kylekatarnls
Copy link
Contributor

This test can fail, because each time you can Date:now(), there is no guarantee the timestamp did not change meanwhile.

This test can fail, because each time you can `Date:now()`, there is no guarantee the timestamp did not change meanwhile.
@kylekatarnls kylekatarnls changed the title Use the same timestamp everywhere [Unit tests] Use the same timestamp everywhere May 16, 2018
@jenssegers jenssegers merged commit 378bc27 into jenssegers:master May 16, 2018
@jenssegers
Copy link
Owner

Thanks!

@kylekatarnls kylekatarnls deleted the patch-2 branch May 16, 2018 11:44
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.

None yet

2 participants