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:
Toshio Kuratomi 2017-10-03 07:17:12 -07:00
commit 638de22b35
9 changed files with 11 additions and 11 deletions

View file

@ -73,7 +73,7 @@
assert:
that:
- fw|failed
- "fw.msg == 'one of the following is required: ip_address,network'"
- "fw.msg == 'one of the following is required: ip_address, network'"
- name: test fail if missing params
cs_firewall:
@ -97,7 +97,7 @@
assert:
that:
- fw|failed
- "fw.msg == 'one of the following is required: ip_address,network'"
- "fw.msg == 'one of the following is required: ip_address, network'"
- name: test present firewall rule ingress 80 in check mode
cs_firewall: