summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-11-06 03:32:34 -0700
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-11-06 10:32:34 +0000
commit0f5e51f726756318f355d988856730a9930e2d2f (patch)
treef01b2b5e438f669497e24dad108b23cb4a81ba7c /tests/utils.py
parenthandle empty backups according to latest spec proposal (#4123) (diff)
downloadsynapse-0f5e51f726756318f355d988856730a9930e2d2f.tar.xz
Add config variables for enabling terms auth and the policy name (#4142)
So people can still collect consent the old way if they want to.
Diffstat (limited to '')
-rw-r--r--tests/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 565bb60d08..67ab916f30 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -123,6 +123,8 @@ def default_config(name):
     config.user_directory_search_all_users = False
     config.user_consent_server_notice_content = None
     config.block_events_without_consent_error = None
+    config.user_consent_at_registration = False
+    config.user_consent_policy_name = "Privacy Policy"
     config.media_storage_providers = []
     config.autocreate_auto_join_rooms = True
     config.auto_join_rooms = []