pull/5420/head
Brendan Abolivier 2019-06-10 17:23:11 +01:00
parent 9ece96f5c8
commit 10510f1e7e
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ class RegisterHideProfileTestCase(unittest.HomeserverTestCase):
args = post_json.call_args[0]
# Make sure the last call was attempting to replicate profiles.
split_uri = args[0].split("/")
self.assertEqual(split_uri[len(split_uri)-1], "replicate_profiles", args[0])
self.assertEqual(split_uri[len(split_uri) - 1], "replicate_profiles", args[0])
# Make sure the last profile update was overriding the user's profile to None.
self.assertEqual(args[1]["batch"][user_id], None, args[1])