mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 19:21:03 +08:00
FEATURE: Bulk reset read
status.
This commit is contained in:
@ -345,7 +345,7 @@ describe TopicsController do
|
||||
end
|
||||
|
||||
it 'deletes the forum topic user record' do
|
||||
PostTiming.expects(:destroy_for).with(@user.id, @topic.id)
|
||||
PostTiming.expects(:destroy_for).with(@user.id, [@topic.id])
|
||||
xhr :delete, :destroy_timings, topic_id: @topic.id
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user