diff --git a/tests/integration/features/admin/initial_state.feature b/tests/integration/features/admin/initial_state.feature index e544959b2d..9648c0d60c 100644 --- a/tests/integration/features/admin/initial_state.feature +++ b/tests/integration/features/admin/initial_state.feature @@ -6,8 +6,8 @@ Feature: admin/initial_state Then the response should contain the initial state "libresign-identify_methods" with the following values: """ [ - {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"enabled_as_signature_method":false}, - {"name":"email","friendly_name":"Email token","enabled":false,"mandatory":true,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","enabled_as_signature_method":false} + {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"},"password":{"enabled":false,"label":"Certificate with password"}}}, + {"name":"email","friendly_name":"Email","enabled":false,"mandatory":true,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"}}} ] """ @@ -20,8 +20,8 @@ Feature: admin/initial_state And the response should contain the initial state "libresign-identify_methods" with the following values: """ [ - {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"enabled_as_signature_method":false}, - {"name":"email","friendly_name":"Email token","enabled":false,"mandatory":true,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","enabled_as_signature_method":false} + {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"},"password":{"enabled":false,"label":"Certificate with password"}}}, + {"name":"email","friendly_name":"Email","enabled":false,"mandatory":true,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"}}} ] """ @@ -34,8 +34,8 @@ Feature: admin/initial_state And the response should contain the initial state "libresign-identify_methods" with the following values: """ [ - {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"enabled_as_signature_method":false}, - {"name":"email","friendly_name":"Email token","enabled":false,"mandatory":true,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","enabled_as_signature_method":false} + {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"},"password":{"enabled":false,"label":"Certificate with password"}}}, + {"name":"email","friendly_name":"Email","enabled":false,"mandatory":true,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"}}} ] """ @@ -48,8 +48,8 @@ Feature: admin/initial_state And the response should contain the initial state "libresign-identify_methods" with the following values: """ [ - {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"enabled_as_signature_method":false}, - {"name":"email","friendly_name":"Email token","enabled":false,"mandatory":true,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","enabled_as_signature_method":false} + {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"},"password":{"enabled":false,"label":"Certificate with password"}}}, + {"name":"email","friendly_name":"Email","enabled":false,"mandatory":true,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"}}} ] """ @@ -62,8 +62,8 @@ Feature: admin/initial_state And the response should contain the initial state "libresign-identify_methods" with the following values: """ [ - {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"enabled_as_signature_method":false}, - {"name":"email","friendly_name":"Email token","enabled":false,"mandatory":true,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","enabled_as_signature_method":false} + {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"},"password":{"enabled":false,"label":"Certificate with password"}}}, + {"name":"email","friendly_name":"Email","enabled":false,"mandatory":true,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"}}} ] """ @@ -75,7 +75,7 @@ Feature: admin/initial_state And the response should contain the initial state "libresign-identify_methods" with the following values: """ [ - {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"enabled_as_signature_method":false}, - {"name":"email","friendly_name":"Email token","enabled":false,"mandatory":false,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","enabled_as_signature_method":false} + {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"},"password":{"enabled":false,"label":"Certificate with password"}}}, + {"name":"email","friendly_name":"Email","enabled":false,"mandatory":false,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"}}} ] """ diff --git a/tests/integration/features/page/index.feature b/tests/integration/features/page/index.feature index 7cfdc1b3ba..4adde26695 100644 --- a/tests/integration/features/page/index.feature +++ b/tests/integration/features/page/index.feature @@ -10,7 +10,7 @@ Feature: page/sign_identify_default And the response should contain the initial state "libresign-identify_methods" with the following values: """ [ - {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"enabled_as_signature_method":false}, - {"name":"email","friendly_name":"Email token","enabled":false,"mandatory":true,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","enabled_as_signature_method":false} + {"name":"account","friendly_name":"Account","enabled":true,"mandatory":true,"signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"},"password":{"enabled":false,"label":"Certificate with password"}}}, + {"name":"email","friendly_name":"Email","enabled":false,"mandatory":true,"can_create_account":true,"test_url":"/index.php/settings/admin/mailtest","signatureMethods":{"clickToSign":{"enabled":false,"label":"Click to sign"},"emailToken":{"enabled":false,"label":"Email token"}}} ] """