Fix time-dependent test in spec/controllers/projects_controller_spec.rb
What does this MR do and why?
This test may have been failing intermittently when the time approaches a minute interval, which causes the rate limit to expire, and allows the project export to proceed. Fix this by freezing the time so that this test is agnostic to the current time.
Relates to #382028 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Stan Hu