Skip to content

Stop using current date to testConversionFromDateTimeToMongoFormat#33

Open
BertrandF23 wants to merge 1 commit intomasterfrom
bugfix/mongodb-date-test
Open

Stop using current date to testConversionFromDateTimeToMongoFormat#33
BertrandF23 wants to merge 1 commit intomasterfrom
bugfix/mongodb-date-test

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