Skip to content

Commit

Permalink
Update the adgroup test cases (#1426)
Browse files Browse the repository at this point in the history
The wording for missing entries has changed in the latest version of the
code but the test cases were not updated to match.
  • Loading branch information
p3ck authored Feb 1, 2024
1 parent 43debd0 commit f855fed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/targets/azure_rm_adgroup/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
object_id: "{{ group_create_unchanged_shouldpass.object_id }}"
register: get_deleted_object_group_root_shouldfail
failed_when:
- '"failed to get ad group info Resource" not in get_deleted_object_group_root_shouldfail.msg'
- '"does not exist or one of its queried" not in get_deleted_object_group_root_shouldfail.msg'

- name: Delete group Group Member 1 on object_id
azure_rm_adgroup:
Expand All @@ -199,7 +199,7 @@
object_id: "{{ create_pass_first.object_id }}"
register: get_deleted_object_group_member_1_shouldfail
failed_when:
- '"failed to get ad group info Resource" not in get_deleted_object_group_member_1_shouldfail.msg'
- '"does not exist or one of its queried" not in get_deleted_object_group_member_1_shouldfail.msg'

- name: Delete group Group Member 2 on object_id
azure_rm_adgroup:
Expand All @@ -212,4 +212,4 @@
object_id: "{{ create_pass_second.object_id }}"
register: get_deleted_object_group_member_2_shouldfail
failed_when:
- '"failed to get ad group info Resource" not in get_deleted_object_group_member_2_shouldfail.msg'
- '"does not exist or one of its queried" not in get_deleted_object_group_member_2_shouldfail.msg'

0 comments on commit f855fed

Please sign in to comment.