stages/prompt: field name (#4497)
* add prompt field name Signed-off-by: Jens Langhammer <jens@goauthentik.io> * remove numerical prefix Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix missing name Signed-off-by: Jens Langhammer <jens@goauthentik.io> * use text field Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add description label Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add migrate blueprint to remove old stages Signed-off-by: Jens Langhammer <jens@goauthentik.io> * add task to remove unretrievable blueprints Signed-off-by: Jens Langhammer <jens@goauthentik.io> * lint Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix blueprint test paths Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> * actually fix tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix tests even more Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix fixtures Signed-off-by: Jens Langhammer <jens@goauthentik.io> Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		| @ -26,8 +26,8 @@ class TestFlowsAuthenticator(SeleniumTestCase): | ||||
|  | ||||
|     @retry() | ||||
|     @apply_blueprint( | ||||
|         "default/10-flow-default-authentication-flow.yaml", | ||||
|         "default/10-flow-default-invalidation-flow.yaml", | ||||
|         "default/flow-default-authentication-flow.yaml", | ||||
|         "default/flow-default-invalidation-flow.yaml", | ||||
|     ) | ||||
|     def test_totp_validate(self): | ||||
|         """test flow with otp stages""" | ||||
| @ -52,10 +52,10 @@ class TestFlowsAuthenticator(SeleniumTestCase): | ||||
|  | ||||
|     @retry() | ||||
|     @apply_blueprint( | ||||
|         "default/10-flow-default-authentication-flow.yaml", | ||||
|         "default/10-flow-default-invalidation-flow.yaml", | ||||
|         "default/flow-default-authentication-flow.yaml", | ||||
|         "default/flow-default-invalidation-flow.yaml", | ||||
|     ) | ||||
|     @apply_blueprint("default/20-flow-default-authenticator-totp-setup.yaml") | ||||
|     @apply_blueprint("default/flow-default-authenticator-totp-setup.yaml") | ||||
|     def test_totp_setup(self): | ||||
|         """test TOTP Setup stage""" | ||||
|         flow: Flow = Flow.objects.get(slug="default-authentication-flow") | ||||
| @ -98,10 +98,10 @@ class TestFlowsAuthenticator(SeleniumTestCase): | ||||
|  | ||||
|     @retry() | ||||
|     @apply_blueprint( | ||||
|         "default/10-flow-default-authentication-flow.yaml", | ||||
|         "default/10-flow-default-invalidation-flow.yaml", | ||||
|         "default/flow-default-authentication-flow.yaml", | ||||
|         "default/flow-default-invalidation-flow.yaml", | ||||
|     ) | ||||
|     @apply_blueprint("default/20-flow-default-authenticator-static-setup.yaml") | ||||
|     @apply_blueprint("default/flow-default-authenticator-static-setup.yaml") | ||||
|     def test_static_setup(self): | ||||
|         """test Static OTP Setup stage""" | ||||
|         flow: Flow = Flow.objects.get(slug="default-authentication-flow") | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens L
					Jens L