mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 00:14:17 +08:00
DEV: Apply syntax_tree formatting to plugins/*
This commit is contained in:
@ -1114,7 +1114,11 @@ RSpec.describe Chat::ChatController do
|
||||
it "returns a 403 if the user can't see the channel" do
|
||||
category.update!(read_restricted: true)
|
||||
group = Fabricate(:group)
|
||||
CategoryGroup.create(group: group, category: category, permission_type: CategoryGroup.permission_types[:create_post])
|
||||
CategoryGroup.create(
|
||||
group: group,
|
||||
category: category,
|
||||
permission_type: CategoryGroup.permission_types[:create_post],
|
||||
)
|
||||
sign_in(user)
|
||||
post "/chat/#{channel.id}/quote.json",
|
||||
params: {
|
||||
|
Reference in New Issue
Block a user