mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:04:50 -04:00
Fix /events/:event_id
deprecated API. (#6731)
This commit is contained in:
parent
0f6e525be3
commit
74b74462f1
4 changed files with 30 additions and 2 deletions
|
@ -463,7 +463,7 @@ class HomeserverTestCase(TestCase):
|
|||
# Create the user
|
||||
request, channel = self.make_request("GET", "/_matrix/client/r0/admin/register")
|
||||
self.render(request)
|
||||
self.assertEqual(channel.code, 200)
|
||||
self.assertEqual(channel.code, 200, msg=channel.result)
|
||||
nonce = channel.json_body["nonce"]
|
||||
|
||||
want_mac = hmac.new(key=b"shared", digestmod=hashlib.sha1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue