Add config option to block users from looking up 3PIDs (#5010)

This commit is contained in:
Brendan Abolivier 2019-04-04 17:25:47 +01:00 committed by GitHub
parent a33a5abc4c
commit 8e85493b0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 81 additions and 1 deletions

View file

@ -410,7 +410,7 @@ class HomeserverTestCase(TestCase):
"POST", "/_matrix/client/r0/login", json.dumps(body).encode('utf8')
)
self.render(request)
self.assertEqual(channel.code, 200)
self.assertEqual(channel.code, 200, channel.result)
access_token = channel.json_body["access_token"]
return access_token