fix(tasks): validate check params new backend error message

pull/16543/head
Zoe Steinkamp 2020-01-15 20:45:30 -07:00
parent d8b7856c36
commit 75e7e0d369
1 changed files with 2 additions and 0 deletions

View File

@ -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"),
}, },
} }