diff options
author | Kegan Dougal <kegan@matrix.org> | 2015-02-05 11:25:32 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2015-02-05 11:25:32 +0000 |
commit | f0c730252fcb198ad925d6406f0f37ccee29e720 (patch) | |
tree | 5b98d275b24d1c40bb591abfd3c3d14ad08a26ca /tests/handlers/test_appservice.py | |
parent | Add hs_token column and generate a different token f.e application service. (diff) | |
download | synapse-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/test_appservice.py')
-rw-r--r-- | tests/handlers/test_appservice.py | 1 |
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", |