diff --git a/server/.golangci.yml b/server/.golangci.yml index 56d797d028..0e83a0e8cb 100644 --- a/server/.golangci.yml +++ b/server/.golangci.yml @@ -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|\ diff --git a/server/channels/app/group_test.go b/server/channels/app/group_test.go index 3f04b29951..8a7c1c1575 100644 --- a/server/channels/app/group_test.go +++ b/server/channels/app/group_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)