pull/5644/head
Brendan Abolivier 2019-07-08 17:44:20 +01:00
parent 5e01e9ac19
commit 73cb716b3c
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD
1 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ class OwnProfileUnrestrictedTestCase(unittest.HomeserverTestCase):
request, channel = self.make_request( request, channel = self.make_request(
"GET", "GET",
"/profile/" + self.requester + "/displayname", "/profile/" + self.requester + "/displayname",
access_token=self.requester_tok access_token=self.requester_tok,
) )
self.render(request) self.render(request)
self.assertEqual(channel.code, 200, channel.result) self.assertEqual(channel.code, 200, channel.result)
@ -331,7 +331,7 @@ class OwnProfileUnrestrictedTestCase(unittest.HomeserverTestCase):
request, channel = self.make_request( request, channel = self.make_request(
"GET", "GET",
"/profile/" + self.requester + "/avatar_url", "/profile/" + self.requester + "/avatar_url",
access_token=self.requester_tok access_token=self.requester_tok,
) )
self.render(request) self.render(request)
self.assertEqual(channel.code, 200, channel.result) self.assertEqual(channel.code, 200, channel.result)