mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 22:57:16 +08:00
SECURITY: Any group can be invited into a PM.
This commit is contained in:
@ -29,5 +29,6 @@ module IntegrationHelpers
|
||||
Fabricate(:email_token, confirmed: true, user: user)
|
||||
post "/session.json", params: { login: user.username, password: password }
|
||||
expect(response).to be_success
|
||||
user
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user