mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 15:08:56 +08:00
9 lines
150 B
Ruby
9 lines
150 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:topic_timer) do
|
|
user
|
|
topic
|
|
execute_at { 1.hour.from_now }
|
|
status_type TopicTimer.types[:close]
|
|
end
|