Fixed errcheck issues in server/channels/app/group_test.go (#28938)

Этот коммит содержится в:
Arya Khochare
2024-10-25 13:06:58 +05:30
коммит произвёл GitHub
родитель 2d4f7ae01d
Коммит 323e330932
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@@ -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)