diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2020-11-25 22:26:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 16:26:11 -0500 |
commit | 3f0ff53158cc07b481c701077357d9d09254845b (patch) | |
tree | bc1f6f4e6beff92b487e7c45585c4d0a4bfbae4c /tests/unittest.py | |
parent | Fix the formatting of push config section (#8818) (diff) | |
download | synapse-3f0ff53158cc07b481c701077357d9d09254845b.tar.xz |
Remove deprecated `/_matrix/client/*/admin` endpoints (#8785)
These are now only available via `/_synapse/admin/v1`.
Diffstat (limited to '')
-rw-r--r-- | tests/unittest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittest.py b/tests/unittest.py index c7c889c405..a9d59e31f7 100644 --- a/tests/unittest.py +++ b/tests/unittest.py @@ -554,7 +554,7 @@ class HomeserverTestCase(TestCase): self.hs.config.registration_shared_secret = "shared" # Create the user - request, channel = self.make_request("GET", "/_matrix/client/r0/admin/register") + request, channel = self.make_request("GET", "/_synapse/admin/v1/register") self.assertEqual(channel.code, 200, msg=channel.result) nonce = channel.json_body["nonce"] @@ -580,7 +580,7 @@ class HomeserverTestCase(TestCase): } ) request, channel = self.make_request( - "POST", "/_matrix/client/r0/admin/register", body.encode("utf8") + "POST", "/_synapse/admin/v1/register", body.encode("utf8") ) self.assertEqual(channel.code, 200, channel.json_body) |