Skip to content
Snippets Groups Projects
Commit 0ebd632d authored by Kegan Dougal's avatar Kegan Dougal
Browse files

Fix unit tests

parent 1cc77145
No related branches found
No related tags found
No related merge requests found
...@@ -295,6 +295,9 @@ class PresenceEventStreamTestCase(unittest.TestCase): ...@@ -295,6 +295,9 @@ class PresenceEventStreamTestCase(unittest.TestCase):
self.mock_datastore = hs.get_datastore() self.mock_datastore = hs.get_datastore()
self.mock_datastore.get_app_service_by_token = Mock(return_value=None) self.mock_datastore.get_app_service_by_token = Mock(return_value=None)
self.mock_datastore.get_app_service_by_user_id = Mock(
return_value=defer.succeed(None)
)
def get_profile_displayname(user_id): def get_profile_displayname(user_id):
return defer.succeed("Frank") return defer.succeed("Frank")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment