From baf4779fb7a75c635d72055986ce5150b0974838 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 6 Sep 2017 15:20:47 +0100 Subject: [PATCH] Fix mediaapi integeration test --- .../matrix-org/dendrite/cmd/mediaapi-integration-tests/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,