Commit 8e9545dd authored by Committed by Thomas MüllerBrowse files
Fix unit tests that failed due to microseconds (#26502)
Since PHP 7.1.0RC4 the DateTime object populates the microsecond part. Since databased usually don't store this, comparing the result with the original date would fail. This fixes the assertions by comparing the dates using a format that doesn't contain the microseconds part.