[MM-37760] Reduce export surface of client4 (#18102)

Этот коммит содержится в:
Ben Schumacher
2021-08-13 14:02:07 +02:00
коммит произвёл GitHub
родитель a8ca5c423f
Коммит 16d8640072
7 изменённых файлов: 570 добавлений и 597 удалений

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

@@ -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)