mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
FIX: Actually error when topic timer time is in the past (#11434)
This commit is contained in:

committed by
GitHub

parent
b824af02d4
commit
9f786306bd
@ -954,7 +954,7 @@ describe 'topics' do
|
||||
category_id: { type: :string, nullable: true },
|
||||
}
|
||||
|
||||
let(:request_body) { { time: '2020-07-11+18:00-06:00', status_type: 'close' } }
|
||||
let(:request_body) { { time: Time.current + 1.day, status_type: 'close' } }
|
||||
let!(:topic_post) { Fabricate(:post) }
|
||||
let(:id) { topic_post.topic.id }
|
||||
|
||||
|
Reference in New Issue
Block a user