mirror of
https://github.com/discourse/discourse.git
synced 2025-04-08 08:02:31 +08:00
One less TODO makes me on little bit more happy
This commit is contained in:
parent
c6c412fd45
commit
e307bad89a
@ -15,9 +15,6 @@ describe TopicStatusUpdate do
|
|||||||
# PostCreator really should not give back out-of-date Topic
|
# PostCreator really should not give back out-of-date Topic
|
||||||
post.topic.reload
|
post.topic.reload
|
||||||
|
|
||||||
# TODO: also annoying PostTiming is not logged
|
|
||||||
PostTiming.create!(topic_id: post.topic_id, user_id: user.id, post_number: 1, msecs: 0)
|
|
||||||
|
|
||||||
admin = Fabricate(:admin)
|
admin = Fabricate(:admin)
|
||||||
TopicStatusUpdate.new(post.topic, admin).update!("autoclosed", true)
|
TopicStatusUpdate.new(post.topic, admin).update!("autoclosed", true)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user