Give public_baseurl a default value (#9159)

This commit is contained in:
Richard van der Hoff 2021-01-20 12:30:41 +00:00 committed by GitHub
parent fa842a9866
commit fa50e4bf4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 48 additions and 83 deletions

View file

@ -40,12 +40,3 @@ class WellKnownTests(unittest.HomeserverTestCase):
"m.identity_server": {"base_url": "https://testis"},
},
)
def test_well_known_no_public_baseurl(self):
self.hs.config.public_baseurl = None
channel = self.make_request(
"GET", "/.well-known/matrix/client", shorthand=False
)
self.assertEqual(channel.code, 404)