[MM-42421] Prevent guests from seeing users through groups API (#21151)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c5f4882f0a
Коммит
a648ced221
@@ -1518,7 +1518,7 @@ func TestAddMembersToGroup(t *testing.T) {
|
||||
|
||||
assert.Len(t, groupMembers, 2)
|
||||
|
||||
count, countErr := th.App.GetGroupMemberCount(group.Id)
|
||||
count, countErr := th.App.GetGroupMemberCount(group.Id, nil)
|
||||
assert.Nil(t, countErr)
|
||||
|
||||
assert.Equal(t, count, int64(2))
|
||||
|
||||
Ссылка в новой задаче
Block a user