mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:16:07 -04:00
Return the device_id from get_auth_by_req
This commit is contained in:
parent
9b6aaf2074
commit
c59bcabf0b
13 changed files with 34 additions and 31 deletions
|
@ -282,7 +282,7 @@ class PresenceEventStreamTestCase(unittest.TestCase):
|
|||
hs.get_clock().time_msec.return_value = 1000000
|
||||
|
||||
def _get_user_by_req(req=None):
|
||||
return UserID.from_string(myid)
|
||||
return (UserID.from_string(myid), "")
|
||||
|
||||
hs.get_auth().get_user_by_req = _get_user_by_req
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue