summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-08-03 16:22:52 -0700
committerAndrew Morgan <andrew@amorgan.xyz>2020-08-03 16:22:52 -0700
commit3261eb71a6d02ac77fa69c9bcdfa07ec3bf10c03 (patch)
tree61601f44ccaabcda11fe5d9354c5745708f30ecb /tests
parentMerge commit '890c0c041' into dinsic (diff)
parentFetch from the r0 media path instead of the unspecced v1. (#7714) (diff)
downloadsynapse-3261eb71a6d02ac77fa69c9bcdfa07ec3bf10c03.tar.xz
Merge commit '434716e1d' into dinsic
* commit '434716e1d':
  Fetch from the r0 media path instead of the unspecced v1. (#7714)
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/media/v1/test_media_storage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/media/v1/test_media_storage.py b/tests/rest/media/v1/test_media_storage.py

index aefe648bdb..2ed9312d56 100644 --- a/tests/rest/media/v1/test_media_storage.py +++ b/tests/rest/media/v1/test_media_storage.py
@@ -232,7 +232,7 @@ class MediaRepoTests(unittest.HomeserverTestCase): self.assertEqual(len(self.fetches), 1) self.assertEqual(self.fetches[0][1], "example.com") self.assertEqual( - self.fetches[0][2], "/_matrix/media/v1/download/" + self.media_id + self.fetches[0][2], "/_matrix/media/r0/download/" + self.media_id ) self.assertEqual(self.fetches[0][3], {"allow_remote": "false"})