aboutsummaryrefslogtreecommitdiff
path: root/mediaapi/routing/download_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'mediaapi/routing/download_test.go')
-rw-r--r--mediaapi/routing/download_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediaapi/routing/download_test.go b/mediaapi/routing/download_test.go
index 11368919..9654b747 100644
--- a/mediaapi/routing/download_test.go
+++ b/mediaapi/routing/download_test.go
@@ -35,7 +35,7 @@ func Test_Multipart(t *testing.T) {
assert.NoError(t, err)
defer resp.Body.Close()
// contentLength is always 0, since there's no Content-Length header on the multipart part.
- err, _, reader := parseMultipartResponse(r, resp, 1000)
+ _, reader, err := parseMultipartResponse(r, resp, 1000)
assert.NoError(t, err)
gotResponse, err := io.ReadAll(reader)
assert.NoError(t, err)