[MM-59825] Fix linter error found by updated govet (#27715)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
45acf31d1a
Коммит
733156ed23
@@ -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")
|
||||
})
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user