summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-06-17 08:36:46 -0400
committerGitHub <noreply@github.com>2020-06-17 08:36:46 -0400
commit434716e1d33ec7ba772177f6659263539d68603f (patch)
treef23cd36060ed4cd325b64e4e33b745d3361e6dc9 /tests
parentImplement unread counter (MSC2625) (#7673) (diff)
downloadsynapse-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.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"})