mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 05:25:16 -05:00
DEV: Don't publish post messages to non-human users.
This commit is contained in:
@@ -53,7 +53,7 @@ describe ::DiscoursePoll::PollsController do
|
||||
expect(json["vote"]).to eq(["5c24fc1df56d764b550ceae1b9319125"])
|
||||
|
||||
expect(message.channel).to eq("/polls/#{poll.topic_id}")
|
||||
expect(message.user_ids).to contain_exactly(-2, -1, user.id, user2.id)
|
||||
expect(message.user_ids).to contain_exactly(user.id, user2.id)
|
||||
expect(message.group_ids).to eq(nil)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user