diff --git a/src/github.com/matrix-org/dendrite/cmd/mediaapi-integration-tests/main.go b/src/github.com/matrix-org/dendrite/cmd/mediaapi-integration-tests/main.go index 5b5d5ad3d..6eaa9ea3a 100644 --- a/src/github.com/matrix-org/dendrite/cmd/mediaapi-integration-tests/main.go +++ b/src/github.com/matrix-org/dendrite/cmd/mediaapi-integration-tests/main.go @@ -211,7 +211,7 @@ func testUpload(host, filePath string) { req.ContentLength = fileSize req.Header.Set("Content-Type", testContentType) - wantedBody := `{"content_uri": "mxc://localhost:18001/"` + testMediaID + "}" + wantedBody := `{"content_uri": "mxc://localhost:18001/` + testMediaID + `"}` testReq := &test.Request{ Req: req, WantedStatusCode: 200,