mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-28 05:11: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 }}'
|
name: '{{ role0 }}'
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: Check
|
- name: Assert that droping the role again is not changed
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- result is not changed
|
- result is not changed
|
||||||
|
@ -455,7 +455,7 @@
|
||||||
'mysql.*': 'UPDATE'
|
'mysql.*': 'UPDATE'
|
||||||
check_mode: yes
|
check_mode: yes
|
||||||
|
|
||||||
- name: Check
|
- name: Assert that create role in check_mode is changed
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- result is changed
|
- result is changed
|
||||||
|
@ -466,7 +466,7 @@
|
||||||
<<: *mysql_params
|
<<: *mysql_params
|
||||||
query: "SELECT 1 FROM mysql.user WHERE User = '{{ role0 }}'"
|
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:
|
assert:
|
||||||
that:
|
that:
|
||||||
- result.rowcount.0 == 0
|
- result.rowcount.0 == 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue