aboutsummaryrefslogtreecommitdiff
path: root/mediaapi/routing/download_test.go
diff options
context:
space:
mode:
authorTill Faelligen <2353100+S7evinK@users.noreply.github.com>2024-11-14 13:42:51 +0100
committerTill Faelligen <2353100+S7evinK@users.noreply.github.com>2024-11-14 13:42:51 +0100
commit79b87c7a08045a5b5c676b97cedd49250bff2237 (patch)
treed0716b0d3bcb85be2a05534bf1cab0597136b168 /mediaapi/routing/download_test.go
parent488009ca905be78c0cbd5364e879d61232b32868 (diff)
parent6cd1285ca0276bebd407110c37031bc4622f0b79 (diff)
Merge branch 'main' of github.com:matrix-org/dendriteHEADmain
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)