Alerting: Update alerting module to 3befd25883e0d17673e5590cc5c5702bbc031b16 (#114062)

* [create-pull-request] automated change

* fix module path for alerting notify test receivers

---------

Co-authored-by: moustafab <27738648+moustafab@users.noreply.github.com>
Co-authored-by: Moustafa Baiou <moustafa.baiou@grafana.com>
This commit is contained in:
alerting-team[bot]
2025-11-19 21:24:08 +00:00
committed by GitHub
co-authored by moustafab Moustafa Baiou
parent 7264803016
commit 53c39ccda3
17 changed files with 125 additions and 21 deletions
@@ -2023,7 +2023,16 @@ func TestApiContactPointExportSnapshot(t *testing.T) {
exportRaw, err := receiverExportResponses.ReadFile(p)
require.NoError(t, err)
require.Equal(t, string(exportRaw), string(actualBody))
switch tc.exportType {
case "json":
require.JSONEq(t, string(exportRaw), string(actualBody))
case "yaml":
require.YAMLEq(t, string(exportRaw), string(actualBody))
case "hcl":
require.Equal(t, string(exportRaw), string(actualBody))
default:
t.Fatalf("unknown export type %q", tc.exportType)
}
}
t.Run("contact point export for all known configs", func(t *testing.T) {