Fix test that is not using context (#27164)

Этот коммит содержится в:
Miguel de la Cruz
2024-05-27 11:38:07 +02:00
коммит произвёл GitHub
родитель 310261eea9
Коммит b00b68920d

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

@@ -244,7 +244,7 @@ func TestCreatePost(t *testing.T) {
CheckCreatedStatus(t, resp)
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.Zero(t, *createdPost.RemoteId)
})