Fix time travelling tests.
What does this MR do?
Fixes a couple spec failures in master related to Timecop time travel.
Are there points in the code the reviewer needs to double check?
I don't know why the sudden failures.
Edit: There was a Timecop-related refactor recently https://gitlab.com/gitlab-org/gitlab-ee/commit/f9aaeee6. Also, it is currently near end of UTC day, so a timezone issue may have been exposed/introduced.
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Edited by username-removed-1144264