Merge pull request #5589 from matrix-org/erikj/admin_exfiltrate_data

Add basic function to get all data for a user out of synapse
This commit is contained in:
Erik Johnston 2019-07-15 10:04:02 +01:00 committed by GitHub
commit d86321300a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 423 additions and 7 deletions

View file

@ -472,7 +472,7 @@ class HomeserverTestCase(TestCase):
"POST", "/_matrix/client/r0/admin/register", body.encode("utf8")
)
self.render(request)
self.assertEqual(channel.code, 200)
self.assertEqual(channel.code, 200, channel.json_body)
user_id = channel.json_body["user_id"]
return user_id