mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ensure test_win_user fails on bogus error
We weren't previously checking the error message- it failed as expected, but for the wrong reason.
This commit is contained in:
parent
b52ca3e21e
commit
698ae7c383
1 changed files with 1 additions and 0 deletions
|
@ -375,6 +375,7 @@
|
|||
that:
|
||||
- "win_user_invalid_group_result|failed"
|
||||
- "win_user_invalid_group_result.msg"
|
||||
- win_user_invalid_group_result.msg | match("group 'Userz' not found")
|
||||
|
||||
- name: remove test user when finished
|
||||
win_user: name="{{ test_win_user_name }}" state="absent"
|
||||
|
|
Loading…
Reference in a new issue