mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Allow admin to auto reopen at topic.
* This commit also introduces a `TopicStatusUpdate` model to support other forms of deferred topic status update in the future.
This commit is contained in:
6
spec/fabricators/topic_status_update_fabricator.rb
Normal file
6
spec/fabricators/topic_status_update_fabricator.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
Fabricator(:topic_status_update) do
|
||||
user
|
||||
topic
|
||||
execute_at Time.zone.now + 1.hour
|
||||
status_type TopicStatusUpdate.types[:close]
|
||||
end
|
||||
Reference in New Issue
Block a user