diff --git a/api_test.go b/api_test.go index 83ece7859c4dc17823a31a9169771d3df9fd7837..fcb3bc8593cfe4cf42983815ce0ca5c61590b2f2 100644 --- a/api_test.go +++ b/api_test.go @@ -801,6 +801,8 @@ func TestPostContainersStart(t *testing.T) { t.Fatal(err) } + req.Header.Set("Content-Type", "application/json") + r := httptest.NewRecorder() if err := postContainersStart(srv, APIVERSION, r, req, map[string]string{"name": container.ID}); err != nil { t.Fatal(err)