mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 19:08:43 -05:00
Fix up the various presence-related tests so that if they're not skipped, they still PASS
This commit is contained in:
parent
407c86c013
commit
d027e859cd
3 changed files with 26 additions and 12 deletions
|
|
@ -102,6 +102,10 @@ class PresenceProfilelikeDataTestCase(unittest.TestCase):
|
|||
])
|
||||
self.datastore.get_presence_list = get_presence_list
|
||||
|
||||
def do_users_share_a_room(userlist):
|
||||
return defer.succeed(False)
|
||||
self.datastore.do_users_share_a_room = do_users_share_a_room
|
||||
|
||||
self.handlers = hs.get_handlers()
|
||||
|
||||
self.mock_update_client = Mock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue