diff --git a/integration-cli/docker_api_build_test.go b/integration-cli/docker_api_build_test.go index 4f4da8cdf2..59b451024e 100644 --- a/integration-cli/docker_api_build_test.go +++ b/integration-cli/docker_api_build_test.go @@ -433,7 +433,7 @@ func (s *DockerSuite) TestBuildChownOnCopy(c *check.C) { c.Assert(err, checker.IsNil) c.Assert(res.StatusCode, checker.Equals, http.StatusOK) - out, err := testutil.ReadBody(body) + out, err := request.ReadBody(body) require.NoError(c, err) assert.Contains(c, string(out), "Successfully built") }