2018-05-25 07:55:24 +02:00
|
|
|
---
|
|
|
|
- name: Validate that account wasn't created in the first step
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- account_not_created is failed
|
|
|
|
|
|
|
|
- name: Validate that account was created in the second step
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- account_created is changed
|
|
|
|
- account_created.account_uri is not none
|
|
|
|
|
|
|
|
- name: Validate that email address was changed
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- account_modified is changed
|
|
|
|
- account_modified.account_uri is not none
|
|
|
|
|
|
|
|
- name: Validate that email address was not changed a second time (idempotency)
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- account_modified_idempotent is not changed
|
|
|
|
- account_modified_idempotent.account_uri is not none
|
|
|
|
|
2018-08-17 07:43:38 +02:00
|
|
|
- name: Make sure that with the wrong account URI, the account cannot be changed
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- account_modified_wrong_uri is failed
|
|
|
|
|
2018-08-14 16:35:15 +02:00
|
|
|
- name: Validate that email address was cleared
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- account_modified_2 is changed
|
|
|
|
- account_modified_2.account_uri is not none
|
|
|
|
|
|
|
|
- name: Validate that email address was not cleared a second time (idempotency)
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- account_modified_2_idempotent is not changed
|
|
|
|
- account_modified_2_idempotent.account_uri is not none
|
|
|
|
|
2018-08-22 22:15:35 +02:00
|
|
|
- name: Validate that the account key was changed
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- account_change_key is changed
|
|
|
|
- account_change_key.account_uri is not none
|
2018-05-25 07:55:24 +02:00
|
|
|
|
|
|
|
- name: Validate that the account was deactivated
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- account_deactivate is changed
|
|
|
|
- account_deactivate.account_uri is not none
|
|
|
|
|
|
|
|
- name: Validate that the account was really deactivated (idempotency)
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- account_deactivate_idempotent is not changed
|
|
|
|
- account_deactivate_idempotent.account_uri is not none
|
|
|
|
|
2018-08-22 22:15:35 +02:00
|
|
|
- name: Validate that the account is gone (new account key)
|
2018-05-25 07:55:24 +02:00
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- account_not_created_2 is failed
|
2018-08-22 22:15:35 +02:00
|
|
|
|
|
|
|
- name: Validate that the account is gone (old account key)
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- account_not_created_3 is failed
|