diff --git a/tests/integration/targets/user_role/tasks/main.yml b/tests/integration/targets/user_role/tasks/main.yml index e7714193..cf56b2aa 100644 --- a/tests/integration/targets/user_role/tasks/main.yml +++ b/tests/integration/targets/user_role/tasks/main.yml @@ -104,6 +104,7 @@ - name: Remove user from database role lowlydba.sqlserver.user_role: + state: "absent" register: result - assert: that: diff --git a/tests/integration/targets/win_restore/tasks/main.yml b/tests/integration/targets/win_restore/tasks/main.yml index af86b376..88841633 100644 --- a/tests/integration/targets/win_restore/tasks/main.yml +++ b/tests/integration/targets/win_restore/tasks/main.yml @@ -48,4 +48,3 @@ that: - error_result.failed == true - "'already exists' in error_result.msg" - - error_result.msg != None