mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
integration-cli: remove deprecated buildImageSuccessfully utility
This was deprecated in 50c4475df6, which
introduced the cli test-utils package.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -175,7 +175,7 @@ func (s *DockerRegistrySuite) TestBuildByDigest(t *testing.T) {
|
||||
|
||||
// do the build
|
||||
const name = "buildbydigest"
|
||||
buildImageSuccessfully(t, name, build.WithDockerfile(fmt.Sprintf(
|
||||
cli.BuildCmd(t, name, build.WithDockerfile(fmt.Sprintf(
|
||||
`FROM %s
|
||||
CMD ["/bin/echo", "Hello World"]`, imageReference)))
|
||||
assert.NilError(t, err)
|
||||
@@ -403,7 +403,7 @@ func (s *DockerRegistrySuite) TestPsListContainersFilterAncestorImageByDigest(t
|
||||
|
||||
// build an image from it
|
||||
const imageName1 = "images_ps_filter_test"
|
||||
buildImageSuccessfully(t, imageName1, build.WithDockerfile(fmt.Sprintf(
|
||||
cli.BuildCmd(t, imageName1, build.WithDockerfile(fmt.Sprintf(
|
||||
`FROM %s
|
||||
LABEL match me 1`, imageReference)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user