Update smoke test and docs for suggestion delete endpoint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user