summary refs log tree commit diff
path: root/tests/test_terms_auth.py
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-11-15 23:00:28 -0700
committerTravis Ralston <travpc@gmail.com>2018-11-15 23:00:28 -0700
commit3da9781c98b8e5a23deaddc532268dbf600b5f11 (patch)
tree918f50269ad469605b2174b6e00fc1901d1b56dc /tests/test_terms_auth.py
parentChangelog (diff)
downloadsynapse-3da9781c98b8e5a23deaddc532268dbf600b5f11.tar.xz
Fix the terms UI auth tests
By setting the config value directly, we skip the block that adds the slash automatically for us.
Diffstat (limited to 'tests/test_terms_auth.py')
-rw-r--r--tests/test_terms_auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_terms_auth.py b/tests/test_terms_auth.py
index 9ecc3ef14f..0968e86a7b 100644
--- a/tests/test_terms_auth.py
+++ b/tests/test_terms_auth.py
@@ -43,7 +43,7 @@ class TermsTestCase(unittest.HomeserverTestCase):
     def test_ui_auth(self):
         self.hs.config.user_consent_at_registration = True
         self.hs.config.user_consent_policy_name = "My Cool Privacy Policy"
-        self.hs.config.public_baseurl = "https://example.org"
+        self.hs.config.public_baseurl = "https://example.org/"
         self.hs.config.user_consent_version = "1.0"
 
         # Do a UI auth request