summary refs log tree commit diff
path: root/tests/appservice/test_appservice.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2016-01-14 14:34:01 +0000
committerreview.rocks <nobody@review.rocks>2016-01-14 14:34:01 +0000
commit2680043bc6a64053b93b9bab144aeb5f45007976 (patch)
tree5f14aaa4a07e93f283464717d34ed897062de72f /tests/appservice/test_appservice.py
parentMerge pull request #498 from matrix-org/push_rule_enabled_fix (diff)
downloadsynapse-2680043bc6a64053b93b9bab144aeb5f45007976.tar.xz
Require ID and as_token be unique for ASs
Defaults ID to as_token if not specified. This will change
when IDs are fully supported.
Diffstat (limited to 'tests/appservice/test_appservice.py')
-rw-r--r--tests/appservice/test_appservice.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/appservice/test_appservice.py b/tests/appservice/test_appservice.py
index 191c420c4d..ef48bbc296 100644
--- a/tests/appservice/test_appservice.py
+++ b/tests/appservice/test_appservice.py
@@ -29,6 +29,7 @@ class ApplicationServiceTestCase(unittest.TestCase):
 
     def setUp(self):
         self.service = ApplicationService(
+            id="unique_identifier",
             url="some_url",
             token="some_token",
             namespaces={