mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Update tests for required_if changes
These tests are doing string matches on the error condition. Update them to match the new strings. This is probably okay to push out to old releases even though it's technically backwards incompatible because production playbooks won't be checking that a parameter was missing. Param missing is something detected and fixed while writing the playbook.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
assert:
|
||||
that:
|
||||
- user|failed
|
||||
- 'user.msg == "missing required arguments: account,email,password,first_name,last_name"'
|
||||
- 'user.msg == "missing required arguments: account, email, password, first_name, last_name"'
|
||||
|
||||
- name: test create user in check mode
|
||||
cs_user:
|
||||
|
||||
Reference in New Issue
Block a user