mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Missing topic edited web hook when publishing a topic.
This commit is contained in:
@@ -34,10 +34,12 @@ describe TopicPublisher do
|
||||
expect(topic.created_at).to eq(published_at)
|
||||
expect(topic.updated_at).to eq(published_at)
|
||||
expect(topic.shared_draft).to be_blank
|
||||
|
||||
expect(UserHistory.where(
|
||||
acting_user_id: moderator.id,
|
||||
action: UserHistory.actions[:topic_published]
|
||||
)).to be_present
|
||||
|
||||
op.reload
|
||||
|
||||
# Should delete any edits on the OP
|
||||
|
||||
Reference in New Issue
Block a user