mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +08:00
FIX: Remove mentions filters from user and groups
Additionally return no data if disabled
This commit is contained in:
@ -83,6 +83,12 @@ describe GroupsController do
|
||||
expect(response).to be_success
|
||||
expect(response.content_type).to eq('application/rss+xml')
|
||||
end
|
||||
|
||||
it 'fails when disabled' do
|
||||
SiteSetting.enable_mentions = false
|
||||
get :mentions_feed, params: { group_id: group.name }, format: :rss
|
||||
expect(response).not_to be_success
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user