mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 00:37:44 +08:00
FIX: Show membership requests link just for group owners. (#7543)
This commit is contained in:
@ -1351,6 +1351,7 @@ describe GroupsController do
|
||||
body = JSON.parse(response.body)
|
||||
|
||||
expect(body['relative_url']).to eq(topic.relative_url)
|
||||
expect(post.custom_fields['requested_group_id'].to_i).to eq(group.id)
|
||||
expect(post.user).to eq(user)
|
||||
|
||||
expect(topic.title).to eq(I18n.t('groups.request_membership_pm.title',
|
||||
|
Reference in New Issue
Block a user