diff options
author | Dag Wieers <dag@wieers.com> | 2019-01-29 03:16:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-29 03:16:58 +0100 |
commit | d8a0e1a9b77aa710ea9082a51eaf5e3679708e33 (patch) | |
tree | f96cd4d4046027c8867f5ef690bf68100de31c41 /test/integration/targets/aci_aaa_user | |
parent | 3f4ca18e7b93c513bc654ff90dea5669599911e5 (diff) | |
download | ansible-d8a0e1a9b77aa710ea9082a51eaf5e3679708e33.tar.gz |
aci_aaa_user: Fix changing user description (#51408)
This fixes a reported problem with the aci_aaa_user module.
Diffstat (limited to 'test/integration/targets/aci_aaa_user')
-rw-r--r-- | test/integration/targets/aci_aaa_user/tasks/main.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/integration/targets/aci_aaa_user/tasks/main.yml b/test/integration/targets/aci_aaa_user/tasks/main.yml index a707b25af8..46b2af238e 100644 --- a/test/integration/targets/aci_aaa_user/tasks/main.yml +++ b/test/integration/targets/aci_aaa_user/tasks/main.yml @@ -66,8 +66,10 @@ that: - cm_add_user is changed - nm_add_user is changed + - nm_add_user.current.0.aaaUser.attributes.descr == 'Ansible test user' - cm_add_user_again is not changed - nm_add_user_again is not changed + - nm_add_user_again.current.0.aaaUser.attributes.descr == 'Ansible test user' # MODIFY USER @@ -107,8 +109,10 @@ that: - cm_modify_user is changed - nm_modify_user is changed + - nm_modify_user.current.0.aaaUser.attributes.descr == 'Ansible test user for integration tests' - cm_modify_user_again is not changed - nm_modify_user_again is not changed + - nm_modify_user_again.current.0.aaaUser.attributes.descr == 'Ansible test user for integration tests' # QUERY ALL USERS @@ -157,6 +161,12 @@ - cm_query_user is not changed - nm_query_user is not changed - cm_query_user == nm_query_user + - nm_query_user.current.0.aaaUser.attributes.accountStatus == 'active' + - nm_query_user.current.0.aaaUser.attributes.descr == 'Ansible test user for integration tests' + - nm_query_user.current.0.aaaUser.attributes.email == 'aci-ansible@ansible.lan' + - nm_query_user.current.0.aaaUser.attributes.expiration == '2123-12-12T00:00:00.000+00:00' + - nm_query_user.current.0.aaaUser.attributes.expires == 'yes' + - nm_query_user.current.0.aaaUser.attributes.phone == '2-345-555-678' # REMOVE USER |