Fix test that is not using context (#27164)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
310261eea9
Коммит
b00b68920d
@@ -244,7 +244,7 @@ func TestCreatePost(t *testing.T) {
|
|||||||
CheckCreatedStatus(t, resp)
|
CheckCreatedStatus(t, resp)
|
||||||
require.Zero(t, *respPost.RemoteId)
|
require.Zero(t, *respPost.RemoteId)
|
||||||
|
|
||||||
createdPost, appErr := th.App.GetSinglePost(respPost.Id, false)
|
createdPost, appErr := th.App.GetSinglePost(th.Context, respPost.Id, false)
|
||||||
require.Nil(t, appErr)
|
require.Nil(t, appErr)
|
||||||
require.Zero(t, *createdPost.RemoteId)
|
require.Zero(t, *createdPost.RemoteId)
|
||||||
})
|
})
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user