Change image-path to image for tests

As we deprecate image-path for image.

Signed-off-by: Ashley Cui <acui@redhat.com>
This commit is contained in:
Ashley Cui
2024-02-28 01:18:40 -05:00
parent 527b3793b8
commit 2b86ab5a1e
15 changed files with 57 additions and 57 deletions

View File

@@ -34,7 +34,7 @@ var _ = Describe("podman machine stop", func() {
name := randomString()
i := new(initMachine)
starttime := time.Now()
session, err := mb.setName(name).setCmd(i.withImagePath(mb.imagePath).withNow()).run()
session, err := mb.setName(name).setCmd(i.withImage(mb.imagePath).withNow()).run()
Expect(err).ToNot(HaveOccurred())
Expect(session).To(Exit(0))