Fix time tracking tests
What does this MR do?
Fixes the failing time tracking tests as found in https://gitlab.com/gitlab-org/gitlab-ee/builds/15426861
Are there points in the code the reviewer needs to double check?
Shouldn't be
Why was this MR needed?
Fixes failing tests
Screenshots (if relevant)
None
Does this MR meet the acceptance criteria?
Yes