mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 14:27:27 -08:00
Update GeneratorURL field name in notification tests.
Change-Id: Ic4357999b6ebcf54008869a395e56d12a0ead211
This commit is contained in:
parent
459f551259
commit
00fd10e24f
|
@ -66,7 +66,7 @@ func (s *testNotificationScenario) test(i int, t *testing.T) {
|
|||
Value: clientmodel.SampleValue(1.0 / 3.0),
|
||||
ActiveSince: time.Time{},
|
||||
RuleString: "Test rule string",
|
||||
GeneratorUrl: "prometheus_url",
|
||||
GeneratorURL: "prometheus_url",
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -82,7 +82,7 @@ func TestNotificationHandler(t *testing.T) {
|
|||
// Correct message.
|
||||
summary: "Summary",
|
||||
description: "Description",
|
||||
message: `[{"Description":"Description","Labels":{"instance":"testinstance"},"Payload":{"ActiveSince":"0001-01-01T00:00:00Z","AlertingRule":"Test rule string","GeneratorUrl":"prometheus_url","Value":"0.333333"},"Summary":"Summary"}]`,
|
||||
message: `[{"Description":"Description","Labels":{"instance":"testinstance"},"Payload":{"ActiveSince":"0001-01-01T00:00:00Z","AlertingRule":"Test rule string","GeneratorURL":"prometheus_url","Value":"0.333333"},"Summary":"Summary"}]`,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue