Fixed errcheck issues in server/channels/app/group_test.go (#28938)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2d4f7ae01d
Коммит
323e330932
@@ -109,7 +109,6 @@ issues:
|
||||
channels/app/file_helper_test.go|\
|
||||
channels/app/file_info.go|\
|
||||
channels/app/file_test.go|\
|
||||
channels/app/group_test.go|\
|
||||
channels/app/helper_test.go|\
|
||||
channels/app/imaging/decode.go|\
|
||||
channels/app/imaging/decode_test.go|\
|
||||
|
||||
@@ -441,7 +441,8 @@ func TestUserIsInAdminRoleGroup(t *testing.T) {
|
||||
require.True(t, actual)
|
||||
|
||||
// delete the syncable, should be false again
|
||||
th.App.DeleteGroupSyncable(group2.Id, th.BasicTeam.Id, model.GroupSyncableTypeTeam)
|
||||
_, appErr := th.App.DeleteGroupSyncable(group2.Id, th.BasicTeam.Id, model.GroupSyncableTypeTeam)
|
||||
require.Nil(t, appErr)
|
||||
actual, err = th.App.UserIsInAdminRoleGroup(th.BasicUser.Id, th.BasicTeam.Id, model.GroupSyncableTypeTeam)
|
||||
require.Nil(t, err)
|
||||
require.False(t, actual)
|
||||
|
||||
Ссылка в новой задаче
Block a user