Commit 57a6a430 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Fix failing expired artifact specs

Changes the expired artifact factory so that the expired_at does not
fall under the "wrongly-expired rows" from a previous DB migration.

See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/82084
parent e2c45924
......@@ -7,7 +7,7 @@ FactoryBot.define do
file_format { :zip }
trait :expired do
expire_at { Date.yesterday }
expire_at { Time.current.yesterday.change(minute: 9) }
end
trait :locked do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment