mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Review fixes (#10641)
See comments in https://review.discourse.org/t/dev-imap-log-to-database-10435/14337/6 for context.
This commit is contained in:
@@ -10,8 +10,8 @@ describe Jobs::CleanupImapSyncLog do
|
||||
log2 = ImapSyncLog.log("Test log 2", :debug)
|
||||
log3 = ImapSyncLog.log("Test log 3", :debug)
|
||||
|
||||
log2.update(created_at: Time.now - 6.days)
|
||||
log3.update(created_at: Time.now - 7.days)
|
||||
log2.update(created_at: 6.days.ago)
|
||||
log3.update(created_at: 7.days.ago)
|
||||
|
||||
job_class.execute({})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user