Fix/improve tests (#9859)

* Fix tests.

* Improve callback tests.
This commit is contained in:
Felix Fontein 2025-03-09 16:48:36 +01:00 committed by GitHub
commit eff25c8a6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 187 additions and 157 deletions

View file

@ -33,7 +33,7 @@
that:
- result is changed
- result.binding_rule.AuthMethod == 'test'
- result.binding.Description == 'test-binding: my description'
- "result.binding_rule.Description == 'test-binding: my description'"
- result.operation == 'create'
- name: Update a binding rule
@ -46,7 +46,7 @@
- assert:
that:
- result is changed
- result.binding.Description == 'test-binding: my description'
- "result.binding_rule.Description == 'test-binding: my description'"
- result.operation == 'update'
- name: Update a binding rule (noop)
@ -58,7 +58,7 @@
- assert:
that:
- result is not changed
- result.binding.Description == 'test-binding: my description'
- "result.binding_rule.Description == 'test-binding: my description'"
- result.operation is not defined
- name: Delete a binding rule