Update smoke test and docs for suggestion delete endpoint

This commit is contained in:
2026-01-28 17:13:03 +01:00
parent 983488d258
commit fe8ba137e0
3 changed files with 6 additions and 0 deletions

View File

@@ -61,6 +61,10 @@ $ids = @()
$resp | Out-Host
}
Write-Host "`n4b) Delete the third suggestion (Suggest phase only)"
Invoke-Json -Method DELETE -Path "/api/suggestions/$($ids[2])" | Out-Host
$ids = $ids[0..1]
Write-Host "`n5) Reveal phase"
Invoke-Json -Method POST -Path "/api/admin/phase" -Headers @{ "X-Admin-Key" = $AdminKey } -Body @{ phase = "Reveal" } | Out-Host
Invoke-Json -Method GET -Path "/api/suggestions/all" | Out-Host