diff --git a/routes/post_action_test.go b/routes/post_action_test.go index 4279c95..d89aba3 100644 --- a/routes/post_action_test.go +++ b/routes/post_action_test.go @@ -117,10 +117,8 @@ func TestTwoBodyActionPost(t *testing.T) { m := getModel([]*models.Plan{p}, []*models.Action{}) router := routes.NewRouter(m) data := []byte(`{ - "plan_date": "2021-01-01T00:00:00Z", "plan_id": 5 }, { - "plan_date": "2021-01-01T00:00:00Z", "plan_id": 6 }`) req, _ := http.NewRequest("POST", "/actions", bytes.NewBuffer(data))