flows: fix unittests and migrations
This commit is contained in:
parent
caeaf8d5a9
commit
fd5b2298e5
|
@ -12,9 +12,7 @@ def create_default_flow(apps: Apps, schema_editor: BaseDatabaseSchemaEditor):
|
||||||
Flow = apps.get_model("passbook_flows", "Flow")
|
Flow = apps.get_model("passbook_flows", "Flow")
|
||||||
FlowStageBinding = apps.get_model("passbook_flows", "FlowStageBinding")
|
FlowStageBinding = apps.get_model("passbook_flows", "FlowStageBinding")
|
||||||
PasswordStage = apps.get_model("passbook_stages_password", "PasswordStage")
|
PasswordStage = apps.get_model("passbook_stages_password", "PasswordStage")
|
||||||
LoginStage = apps.get_model(
|
LoginStage = apps.get_model("passbook_stages_login", "LoginStage")
|
||||||
"passbook_stages_login", "LoginStage"
|
|
||||||
)
|
|
||||||
IdentificationStage = apps.get_model(
|
IdentificationStage = apps.get_model(
|
||||||
"passbook_stages_identification", "IdentificationStage"
|
"passbook_stages_identification", "IdentificationStage"
|
||||||
)
|
)
|
||||||
|
|
|
@ -96,6 +96,7 @@ INSTALLED_APPS = [
|
||||||
"passbook.providers.oidc.apps.PassbookProviderOIDCConfig",
|
"passbook.providers.oidc.apps.PassbookProviderOIDCConfig",
|
||||||
"passbook.providers.saml.apps.PassbookProviderSAMLConfig",
|
"passbook.providers.saml.apps.PassbookProviderSAMLConfig",
|
||||||
"passbook.providers.samlv2.apps.PassbookProviderSAMLv2Config",
|
"passbook.providers.samlv2.apps.PassbookProviderSAMLv2Config",
|
||||||
|
"passbook.stages.login.apps.PassbookStageLoginConfig",
|
||||||
"passbook.stages.identification.apps.PassbookStageIdentificationConfig",
|
"passbook.stages.identification.apps.PassbookStageIdentificationConfig",
|
||||||
"passbook.stages.otp.apps.PassbookStageOTPConfig",
|
"passbook.stages.otp.apps.PassbookStageOTPConfig",
|
||||||
"passbook.stages.captcha.apps.PassbookStageCaptchaConfig",
|
"passbook.stages.captcha.apps.PassbookStageCaptchaConfig",
|
||||||
|
|
Reference in New Issue