mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 20:57:23 +08:00
FEATURE: reorder participants in topic so always chronological
FEATURE: tie breaker for same number of posts is last post date UX: highlight for latest poster when it is OP
This commit is contained in:
@ -291,7 +291,7 @@ describe PostDestroyer do
|
||||
let!(:post) { Fabricate(:post, raw: "Hello @CodingHorror") }
|
||||
|
||||
it "should feature the users again (in case they've changed)" do
|
||||
Jobs.expects(:enqueue).with(:feature_topic_users, has_entries(topic_id: post.topic_id, except_post_id: post.id))
|
||||
Jobs.expects(:enqueue).with(:feature_topic_users, has_entries(topic_id: post.topic_id))
|
||||
PostDestroyer.new(moderator, post).destroy
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user