mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix the terms UI auth tests
By setting the config value directly, we skip the block that adds the slash automatically for us.
This commit is contained in:
parent
d75db3df59
commit
3da9781c98
@ -43,7 +43,7 @@ class TermsTestCase(unittest.HomeserverTestCase):
|
|||||||
def test_ui_auth(self):
|
def test_ui_auth(self):
|
||||||
self.hs.config.user_consent_at_registration = True
|
self.hs.config.user_consent_at_registration = True
|
||||||
self.hs.config.user_consent_policy_name = "My Cool Privacy Policy"
|
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"
|
self.hs.config.user_consent_version = "1.0"
|
||||||
|
|
||||||
# Do a UI auth request
|
# Do a UI auth request
|
||||||
|
Loading…
Reference in New Issue
Block a user