mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 15:04:02 -07:00
parent
bc99432f89
commit
eaa5e07b28
247 changed files with 7318 additions and 7375 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