mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-11 17:03:10 -06:00
Fix mediaapi integeration test
This commit is contained in:
parent
91a0f0842e
commit
baf4779fb7
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue