diff options
Diffstat (limited to 'test/integration/targets/tower_team/tasks/main.yml')
-rw-r--r-- | test/integration/targets/tower_team/tasks/main.yml | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/test/integration/targets/tower_team/tasks/main.yml b/test/integration/targets/tower_team/tasks/main.yml deleted file mode 100644 index 96fb921a81..0000000000 --- a/test/integration/targets/tower_team/tasks/main.yml +++ /dev/null @@ -1,45 +0,0 @@ -- name: Attempt to add a Tower team to a non-existant Organization - tower_team: - name: Test Team - organization: Missing Organization - state: present - register: result - ignore_errors: yes - -- name: Assert a meaningful error was provided for the failed Tower team creation - assert: - that: - - "'The requested object could not be found.' in result.msg" - -- name: Create a Tower team - tower_team: - name: Test Team - organization: Default - register: result - -- assert: - that: - - "result is changed" - -- name: Delete a Tower team - tower_team: - name: Test Team - organization: Default - state: absent - register: result - -- assert: - that: - - "result is changed" - -- name: Check module fails with correct msg - tower_team: - name: Test Team - organization: Non Existing Org - state: present - register: result - ignore_errors: true - -- assert: - that: - - "result.msg =='Failed to update team, organization not found: The requested object could not be found.'" |