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

pull/16543/head
Zoe Steinkamp 2020-01-15 22:18:04 -07:00
parent d8df75e6c3
commit eef22147ad
1 changed files with 2 additions and 2 deletions

View File

@ -891,7 +891,7 @@ func TestService_handlePatchCheck(t *testing.T) {
wants wants
}{
{
name: "update a check name 1",
name: "update a check name",
fields: fields{
&mock.CheckService{
PatchCheckFn: func(ctx context.Context, id influxdb.ID, upd influxdb.CheckUpdate) (influxdb.Check, error) {
@ -1066,7 +1066,7 @@ func TestService_handleUpdateCheck(t *testing.T) {
wants wants
}{
{
name: "update a check name 2",
name: "update a check name",
fields: fields{
CheckService: &mock.CheckService{
UpdateCheckFn: func(ctx context.Context, id influxdb.ID, chk influxdb.CheckCreate) (influxdb.Check, error) {