[MM-61508] Fixed errcheck issues in upload_test.go, [MM-61510] Fixed errcheck issues in user_test.go (#29308)

Этот коммит содержится в:
Jessie Kahn
2024-12-05 06:22:41 -05:00
коммит произвёл GitHub
родитель a6d37fa14c
Коммит 82c1f7bf09
3 изменённых файлов: 100 добавлений и 36 удалений

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

@@ -67,7 +67,8 @@ func TestCreateUploadSession(t *testing.T) {
t.Run("deleted channel", func(t *testing.T) {
ch := th.CreateChannel(th.Context, th.BasicTeam)
th.App.DeleteChannel(th.Context, ch, th.BasicUser.Id)
appErr := th.App.DeleteChannel(th.Context, ch, th.BasicUser.Id)
require.Nil(t, appErr)
us.ChannelId = ch.Id
u, err := th.App.CreateUploadSession(th.Context, us)
require.NotNil(t, err)