Fix mediaapi integeration test

This commit is contained in:
Erik Johnston 2017-09-06 15:20:47 +01:00
parent 91a0f0842e
commit baf4779fb7

View file

@ -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,