diff options
author | Erik Johnston <erik@matrix.org> | 2018-10-25 15:25:21 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-10-25 15:25:21 +0100 |
commit | e5481b22aac800b016e05f50a50ced85a226b364 (patch) | |
tree | 4fa4dfed6d4154e61a71205fdfd098d1aae989f6 /tests/config | |
parent | Use match rather than search (diff) | |
download | synapse-e5481b22aac800b016e05f50a50ced85a226b364.tar.xz |
Use allow/deny
Diffstat (limited to 'tests/config')
-rw-r--r-- | tests/config/test_room_directory.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/config/test_room_directory.py b/tests/config/test_room_directory.py index 75021a5f04..f37a17d618 100644 --- a/tests/config/test_room_directory.py +++ b/tests/config/test_room_directory.py @@ -26,16 +26,16 @@ class RoomDirectoryConfigTestCase(unittest.TestCase): alias_creation_rules: - user_id: "*bob*" alias: "*" - action: "denied" + action: "deny" - user_id: "*" alias: "#unofficial_*" - action: "allowed" + action: "allow" - user_id: "@foo*:example.com" alias: "*" - action: "allowed" + action: "allow" - user_id: "@gah:example.com" alias: "#goo:example.com" - action: "allowed" + action: "allow" """) rd_config = RoomDirectoryConfig() |