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

Stop using current date to testConversionFromDateTimeToMongoFormat #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BertrandF23
Copy link
Contributor

We were using the current date to test convertFromMongoFormatToDateTime, and it happened that if the current milliseconds were under 100, the test was failing because of a bug in that function.
The test has been modified, using a provider, that allow to test it but also to show when it is failing. It seems to be due to a bug in MongoDb, so we should better update it instead of trying to fix it.

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.

1 participant