Commit 0bab0e0
committed
test(support): add deleteUserPfx helper to remove user certificate
Add deleteUserPfx() to playwright/support/nc-provisioning.ts to send
DELETE /ocs/v2.php/apps/libresign/api/v1/account/pfx authenticated
as the target user. This ensures tests that require the certificate
creation flow always start from a clean state.
Signed-off-by: Vitor Mattos <[email protected]>1 parent af0f68c commit 0bab0e0
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
146 | 159 | | |
147 | 160 | | |
148 | 161 | | |
| |||
0 commit comments