mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-27 12:51:26 -07:00
Add unique test names
This commit is contained in:
parent
05a6589fc5
commit
ae41a50626
1 changed files with 13 additions and 13 deletions
|
@ -435,7 +435,7 @@
|
|||
name: '{{ role0 }}'
|
||||
state: absent
|
||||
|
||||
- name: Check
|
||||
- name: Assert that droping the role again is not changed
|
||||
assert:
|
||||
that:
|
||||
- result is not changed
|
||||
|
@ -455,7 +455,7 @@
|
|||
'mysql.*': 'UPDATE'
|
||||
check_mode: yes
|
||||
|
||||
- name: Check
|
||||
- name: Assert that create role in check_mode is changed
|
||||
assert:
|
||||
that:
|
||||
- result is changed
|
||||
|
@ -466,7 +466,7 @@
|
|||
<<: *mysql_params
|
||||
query: "SELECT 1 FROM mysql.user WHERE User = '{{ role0 }}'"
|
||||
|
||||
- name: Check
|
||||
- name: Assert that create role in check_mode is not in the database
|
||||
assert:
|
||||
that:
|
||||
- result.rowcount.0 == 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue