diff --git a/tests/integration/targets/storage_box_snapshot/tasks/test.yml b/tests/integration/targets/storage_box_snapshot/tasks/test.yml index 2546f85..1bdac38 100644 --- a/tests/integration/targets/storage_box_snapshot/tasks/test.yml +++ b/tests/integration/targets/storage_box_snapshot/tasks/test.yml @@ -106,3 +106,14 @@ that: - result is changed - result.hcloud_storage_box_snapshot is none + +- name: Test delete idempotency + hetzner.hcloud.storage_box_snapshot: + storage_box: "{{ test_storage_box.hcloud_storage_box.name }}" + name: "{{ _storage_box_snapshot.name }}" + state: absent + register: result +- name: Verify delete idempotency + ansible.builtin.assert: + that: + - result is not changed