Fix test
This commit is contained in:
parent
910eafda63
commit
c280ad1850
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ class Scheduler::ScheduledStatusesScheduler
|
|||
end
|
||||
|
||||
def expired_statuses
|
||||
ScheduledExpirationStatus.where(scheduled_at: ..Time.now.utc + PostStatusService::MIN_SCHEDULE_OFFSET)
|
||||
ScheduledExpirationStatus.where(scheduled_at: ..time_due_at)
|
||||
end
|
||||
|
||||
def publish_scheduled_announcements!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue