mirror of
https://github.com/prometheus/alertmanager.git
synced 2026-02-06 00:46:17 +01:00
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>