mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-06 14:14:22 -07:00
Adjust YAML files (#10233)
Adjust YAML files.
(cherry picked from commit eaa5e07b28
)
This commit is contained in:
parent
e8ff74f077
commit
a9e892952d
244 changed files with 7272 additions and 7329 deletions
|
@ -22,9 +22,9 @@
|
|||
- name: assert that test LDAP user can read its password
|
||||
assert:
|
||||
that:
|
||||
- output is not failed
|
||||
- output.results | length == 1
|
||||
- output.results.0.userPassword is defined
|
||||
- output is not failed
|
||||
- output.results | length == 1
|
||||
- output.results.0.userPassword is defined
|
||||
|
||||
- name: Test simple search for cert authenticated user
|
||||
ldap_search:
|
||||
|
@ -42,6 +42,6 @@
|
|||
- name: assert that test LDAP user can read its password
|
||||
assert:
|
||||
that:
|
||||
- output is not failed
|
||||
- output.results | length == 1
|
||||
- output.results.0.userPassword is defined
|
||||
- output is not failed
|
||||
- output.results | length == 1
|
||||
- output.results.0.userPassword is defined
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
- name: assert that test LDAP user can be found
|
||||
assert:
|
||||
that:
|
||||
- output is not failed
|
||||
- output.results | length == 1
|
||||
- output.results.0.displayName == "LDAP Test"
|
||||
- output is not failed
|
||||
- output.results | length == 1
|
||||
- output.results.0.displayName == "LDAP Test"
|
||||
|
||||
- name: Test simple search for a user with no results
|
||||
ldap_search:
|
||||
|
@ -35,5 +35,5 @@
|
|||
- name: assert that the output is empty
|
||||
assert:
|
||||
that:
|
||||
- output is not failed
|
||||
- output.results | length == 0
|
||||
- output is not failed
|
||||
- output.results | length == 0
|
||||
|
|
|
@ -20,5 +20,5 @@
|
|||
- name: assert that the right number of results are returned
|
||||
assert:
|
||||
that:
|
||||
- output is not failed
|
||||
- output.results | length == 2
|
||||
- output is not failed
|
||||
- output.results | length == 2
|
||||
|
|
|
@ -20,6 +20,6 @@
|
|||
- name: Assert that the schema output is correct
|
||||
assert:
|
||||
that:
|
||||
- output is not failed
|
||||
- output.results | length >= 1
|
||||
- "{{ 'displayName' in output.results.0.attrs }}"
|
||||
- output is not failed
|
||||
- output.results | length >= 1
|
||||
- "{{ 'displayName' in output.results.0.attrs }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue