[stable-10] Adjust YAML files (#10233) (#10244)

Adjust YAML files (#10233)

Adjust YAML files.

(cherry picked from commit eaa5e07b28)
This commit is contained in:
Felix Fontein 2025-06-15 10:02:03 +02:00 committed by GitHub
commit a9e892952d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
244 changed files with 7272 additions and 7329 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 }}"