mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Terms might not be the last stage
This commit is contained in:
parent
516a5fb64b
commit
822072b1bb
@ -59,7 +59,7 @@ class TermsTestCase(unittest.HomeserverTestCase):
|
|||||||
for flow in channel.json_body["flows"]:
|
for flow in channel.json_body["flows"]:
|
||||||
self.assertIsInstance(flow["stages"], list)
|
self.assertIsInstance(flow["stages"], list)
|
||||||
self.assertTrue(len(flow["stages"]) > 0)
|
self.assertTrue(len(flow["stages"]) > 0)
|
||||||
self.assertEquals(flow["stages"][-1], "m.login.terms")
|
self.assertTrue("m.login.terms" in flow["stages"])
|
||||||
|
|
||||||
expected_params = {
|
expected_params = {
|
||||||
"m.login.terms": {
|
"m.login.terms": {
|
||||||
|
Loading…
Reference in New Issue
Block a user