Skip to content

Commit

Permalink
Fix Sharded Media Repo tests
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre committed Nov 19, 2024
1 parent ff406f5 commit fa66b4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/replication/test_multi_media_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _get_media_req(
self.reactor,
self._hs_to_site[hs],
"GET",
f"/_matrix/media/r0/download/{target}/{media_id}",
f"/_matrix/client/v1/media/download/{target}/{media_id}",
shorthand=False,
access_token=self.access_token,
await_result=False,
Expand Down Expand Up @@ -140,7 +140,7 @@ def _get_media_req(
self.assertEqual(request.method, b"GET")
self.assertEqual(
request.path,
f"/_matrix/media/v3/download/{target}/{media_id}".encode(),
f"/_matrix/client/v1/media/download/{target}/{media_id}".encode(),
)
self.assertEqual(
request.requestHeaders.getRawHeaders(b"host"), [target.encode("utf-8")]
Expand Down

0 comments on commit fa66b4f

Please sign in to comment.