integration-cli: remove uses of "runconfig"

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-07-20 21:02:38 +02:00
parent f776cd6922
commit ab5d348b77
5 changed files with 29 additions and 34 deletions

View File

@@ -11,7 +11,6 @@ import (
"testing"
"github.com/docker/docker/api/types/versions"
"github.com/docker/docker/runconfig"
"github.com/docker/docker/testutil"
"github.com/docker/docker/testutil/request"
"gotest.tools/v3/assert"
@@ -79,7 +78,7 @@ func (s *DockerAPISuite) TestAPIErrorJSON(c *testing.T) {
assert.Assert(c, is.Contains(httpResp.Header.Get("Content-Type"), "application/json"))
b, err := request.ReadBody(body)
assert.NilError(c, err)
assert.Equal(c, getErrorMessage(c, b), runconfig.ErrEmptyConfig.Error())
assert.Check(c, is.Contains(getErrorMessage(c, b), "config cannot be empty"))
}
func (s *DockerAPISuite) TestAPIErrorNotFoundJSON(c *testing.T) {