mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
Fix tests
This commit is contained in:
parent
438a21c87b
commit
ce2766d19c
5 changed files with 14 additions and 14 deletions
|
@ -55,7 +55,7 @@ class ProfileTestCase(unittest.TestCase):
|
|||
def _get_user_by_req(request=None):
|
||||
return (UserID.from_string(myid), "")
|
||||
|
||||
hs.get_auth().get_user_by_req = _get_user_by_req
|
||||
hs.get_v1auth().get_user_by_req = _get_user_by_req
|
||||
|
||||
hs.get_handlers().profile_handler = self.mock_handler
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue