[MM-59825] Fix linter error found by updated govet (#27715)

Этот коммит содержится в:
Ben Schumacher
2024-07-23 13:10:31 +02:00
коммит произвёл GitHub
родитель 45acf31d1a
Коммит 733156ed23
3 изменённых файлов: 9 добавлений и 9 удалений

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

@@ -167,7 +167,7 @@ func TestPostActionEmptyResponse(t *testing.T) {
})
_, err = th.App.DoPostActionWithCookie(th.Context, post.Id, attachments[0].Actions[0].Id, th.BasicUser.Id, "", nil)
require.Error(t, err)
require.NotNil(t, err)
assert.Contains(t, err.DetailedError, "context deadline exceeded")
})
}