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

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

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

@@ -60,7 +60,7 @@ func fileBytes(t *testing.T, path string) []byte {
func testDoUploadFileRequest(t testing.TB, c *model.Client4, url string, blob []byte, contentType string,
contentLength int64) (*model.FileUploadResponse, *model.Response, error) {
req, err := http.NewRequest("POST", c.ApiUrl+c.GetFilesRoute()+url, bytes.NewReader(blob))
req, err := http.NewRequest("POST", c.ApiUrl+"/files"+url, bytes.NewReader(blob))
require.NoError(t, err)
if contentLength != 0 {