diff --git a/tests/integration/targets/acme_account/tests/validate.yml b/tests/integration/targets/acme_account/tests/validate.yml index dc927ff6..582f8b58 100644 --- a/tests/integration/targets/acme_account/tests/validate.yml +++ b/tests/integration/targets/acme_account/tests/validate.yml @@ -18,7 +18,7 @@ - "account_created_check.diff.before == {}" - "'after' in account_created_check.diff" - account_created_check.diff.after.contact | length == 1 - - account_created_check.diff.after.contact[0] == 'mailto:example@example.org' + - account_created_check.diff.after.contact[0] in ['mailto:example@example.org', 'mailto:********@********.org'] - name: Validate that account was created in the second step assert: @@ -39,9 +39,9 @@ - account_modified_check.account_uri is not none - "'diff' in account_modified_check" - account_modified_check.diff.before.contact | length == 1 - - account_modified_check.diff.before.contact[0] == 'mailto:example@example.org' + - account_modified_check.diff.before.contact[0] in ['mailto:example@example.org', 'mailto:********@********.org'] - account_modified_check.diff.after.contact | length == 1 - - account_modified_check.diff.after.contact[0] == 'mailto:example@example.com' + - account_modified_check.diff.after.contact[0] in ['mailto:example@example.com', 'mailto:********@********.com'] - name: Validate that email address was changed assert: @@ -67,7 +67,7 @@ - account_modified_2_check.account_uri is not none - "'diff' in account_modified_2_check" - account_modified_2_check.diff.before.contact | length == 1 - - account_modified_2_check.diff.before.contact[0] == 'mailto:example@example.com' + - account_modified_2_check.diff.before.contact[0] in ['mailto:example@example.com', 'mailto:********@********.com'] - account_modified_2_check.diff.after.contact | length == 0 - name: Validate that email address was cleared diff --git a/tests/integration/targets/acme_inspect/tests/validate.yml b/tests/integration/targets/acme_inspect/tests/validate.yml index 53dfa928..967ca3d6 100644 --- a/tests/integration/targets/acme_inspect/tests/validate.yml +++ b/tests/integration/targets/acme_inspect/tests/validate.yml @@ -50,7 +50,7 @@ - "'output_json' in account_update" - account_update.output_json.status == 'valid' - account_update.output_json.contact | length == 1 - - account_update.output_json.contact[0] == 'mailto:me@example.com' + - account_update.output_json.contact[0] in ['mailto:me@example.com', 'mailto:*******@example.com'] - name: Check certificate request output assert: