b676fc4d2e
This commit adds a unit test for the postSilencesHandler to create and then update a silence. It shows that changing the ID of an existing silence returns 404 Not Found, and removing the ID of an existing silence re-creates that silence with a different ID. Signed-off-by: George Robinson <george.robinson@grafana.com> |
||
---|---|---|
.. | ||
client | ||
models | ||
restapi | ||
api.go | ||
api_test.go | ||
compat.go | ||
openapi.yaml | ||
testing.go |