[MM-37760] Reduce export surface of client4 (#18102)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a8ca5c423f
Коммит
16d8640072
@@ -458,7 +458,7 @@ func TestPatchBot(t *testing.T) {
|
||||
CheckCreatedStatus(t, resp)
|
||||
defer th.App.PermanentDeleteBot(createdBot.UserId)
|
||||
|
||||
r, err := th.Client.DoApiPut(th.Client.GetBotRoute(createdBot.UserId), `{"creator_id":"`+th.BasicUser2.Id+`"}`)
|
||||
r, err := th.Client.DoApiPut("/bots/"+createdBot.UserId, `{"creator_id":"`+th.BasicUser2.Id+`"}`)
|
||||
require.NoError(t, err)
|
||||
defer func() {
|
||||
_, _ = ioutil.ReadAll(r.Body)
|
||||
|
||||
Ссылка в новой задаче
Block a user