summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-02-05 11:25:32 +0000
committerKegan Dougal <kegan@matrix.org>2015-02-05 11:25:32 +0000
commitf0c730252fcb198ad925d6406f0f37ccee29e720 (patch)
tree5b98d275b24d1c40bb591abfd3c3d14ad08a26ca /tests/handlers
parentAdd hs_token column and generate a different token f.e application service. (diff)
downloadsynapse-f0c730252fcb198ad925d6406f0f37ccee29e720.tar.xz
Add unknown user ID check. Use store.get_aliases_for_room(room_id) when searching for services by alias.
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_appservice.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/handlers/test_appservice.py b/tests/handlers/test_appservice.py
index 1daa314f20..f92dc1c89a 100644
--- a/tests/handlers/test_appservice.py
+++ b/tests/handlers/test_appservice.py
@@ -46,6 +46,7 @@ class AppServiceHandlerTestCase(unittest.TestCase):
         ]
 
         self.mock_store.get_app_services = Mock(return_value=services)
+        self.mock_store.get_user_by_id = Mock(return_value=[])
 
         event = Mock(
             sender="@someone:anywhere",