fix(tasks): validate check params new backend error message
parent
d8b7856c36
commit
75e7e0d369
|
@ -902,6 +902,7 @@ func TestService_handlePatchCheck(t *testing.T) {
|
||||||
Name: "hello",
|
Name: "hello",
|
||||||
OrgID: influxTesting.MustIDBase16("020f755c3c082000"),
|
OrgID: influxTesting.MustIDBase16("020f755c3c082000"),
|
||||||
TaskID: 3,
|
TaskID: 3,
|
||||||
|
Every: mustDuration("1m"),
|
||||||
},
|
},
|
||||||
Level: notification.Critical,
|
Level: notification.Critical,
|
||||||
}
|
}
|
||||||
|
@ -1077,6 +1078,7 @@ func TestService_handleUpdateCheck(t *testing.T) {
|
||||||
Name: "hello",
|
Name: "hello",
|
||||||
OrgID: influxTesting.MustIDBase16("020f755c3c082000"),
|
OrgID: influxTesting.MustIDBase16("020f755c3c082000"),
|
||||||
TaskID: 3,
|
TaskID: 3,
|
||||||
|
Every: mustDuration("1m"),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue