mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 16:30:46 +08:00

* This commit also introduces a `TopicStatusUpdate` model to support other forms of deferred topic status update in the future.
7 lines
137 B
Ruby
7 lines
137 B
Ruby
Fabricator(:topic_status_update) do
|
|
user
|
|
topic
|
|
execute_at Time.zone.now + 1.hour
|
|
status_type TopicStatusUpdate.types[:close]
|
|
end
|