Skip to content

Commit 86b3423

Browse files
committed
fix: audit test broken with vault change
1 parent ca52824 commit 86b3423

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

functional/test_audit.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@
3434
- assert: { that: "audit_module is not changed" }
3535
- assert: { that: "audit_module.rc == 0" }
3636

37+
- name: Delete audit only one audit allowed
38+
hashivault_audit:
39+
device_type: file
40+
state: absent
41+
register: audit_module
42+
- assert: { that: "audit_module is changed" }
43+
- assert: { that: "audit_module.rc == 0" }
44+
45+
3746
- name: Create audit path
3847
hashivault_audit:
3948
device_type: file
@@ -54,14 +63,6 @@
5463
- assert: { that: "audit_module is not changed" }
5564
- assert: { that: "audit_module.rc == 0" }
5665

57-
- name: Delete audit
58-
hashivault_audit:
59-
device_type: file
60-
state: absent
61-
register: audit_module
62-
- assert: { that: "audit_module is changed" }
63-
- assert: { that: "audit_module.rc == 0" }
64-
6566
- name: Delete audit path
6667
hashivault_audit:
6768
device_type: file

0 commit comments

Comments
 (0)