diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-06-17 08:36:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 08:36:46 -0400 |
commit | 434716e1d33ec7ba772177f6659263539d68603f (patch) | |
tree | f23cd36060ed4cd325b64e4e33b745d3361e6dc9 /tests | |
parent | Implement unread counter (MSC2625) (#7673) (diff) | |
download | synapse-434716e1d33ec7ba772177f6659263539d68603f.tar.xz |
Fetch from the r0 media path instead of the unspecced v1. (#7714)
Diffstat (limited to '')
-rw-r--r-- | tests/rest/media/v1/test_media_storage.py | 2 |
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"}) |