mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 14:08:32 +08:00
Merge pull request #4790 from tgxworld/add_publish_to_topic_status_update
FEATURE: Allow admins to schedule a topic to be published in the future.
This commit is contained in:
@ -1265,7 +1265,7 @@ describe Topic do
|
||||
|
||||
expect(topic.reload.closed).to eq(false)
|
||||
|
||||
Timecop.freeze(3.hours.from_now) do
|
||||
Timecop.travel(3.hours.from_now) do
|
||||
TopicStatusUpdate.ensure_consistency!
|
||||
expect(topic.reload.closed).to eq(true)
|
||||
end
|
||||
|
Reference in New Issue
Block a user