mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 01:25:44 +03:00
Terms might not be the last stage
This commit is contained in:
parent
516a5fb64b
commit
822072b1bb
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class TermsTestCase(unittest.HomeserverTestCase):
|
|||
for flow in channel.json_body["flows"]:
|
||||
self.assertIsInstance(flow["stages"], list)
|
||||
self.assertTrue(len(flow["stages"]) > 0)
|
||||
self.assertEquals(flow["stages"][-1], "m.login.terms")
|
||||
self.assertTrue("m.login.terms" in flow["stages"])
|
||||
|
||||
expected_params = {
|
||||
"m.login.terms": {
|
||||
|
|
Loading…
Reference in a new issue