Skip to content

Commit

Permalink
Fix osx_defaults tests (#7631)
Browse files Browse the repository at this point in the history
Fix osx_defaults tests.
  • Loading branch information
felixfontein authored Nov 29, 2023
1 parent 3b779ec commit dbba0d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/targets/osx_defaults/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
- name: Test if state and value are required together
assert:
that:
- "'following are missing: value' in '{{ missing_value['msg'] }}'"
- "'following are missing: value' in missing_value['msg']"

- name: Change value of AppleMeasurementUnits to centimeter in check_mode
osx_defaults:
Expand Down Expand Up @@ -194,7 +194,7 @@
register: test_data_types

- assert:
that: "{{ item.changed }}"
that: "item is changed"
with_items: "{{ test_data_types.results }}"

- name: Use different data types and delete them
Expand All @@ -208,7 +208,7 @@
register: test_data_types

- assert:
that: "{{ item.changed }}"
that: "item is changed"
with_items: "{{ test_data_types.results }}"


Expand Down

0 comments on commit dbba0d1

Please sign in to comment.