summaryrefslogtreecommitdiff
path: root/pkg/machine/e2e/list_test.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2022-06-30 14:08:05 -0500
committerBrent Baude <bbaude@redhat.com>2022-07-08 08:22:49 -0500
commit76d887c7702321894c28a7479e696ef45f36143c (patch)
treeb025322469b3fa44df2f45f46cbc6c0763b59f3f /pkg/machine/e2e/list_test.go
parent6087fb2116aaeae995e8423872ffe637e8be128f (diff)
downloadpodman-76d887c7702321894c28a7479e696ef45f36143c.tar.gz
podman-76d887c7702321894c28a7479e696ef45f36143c.tar.bz2
podman-76d887c7702321894c28a7479e696ef45f36143c.zip
Fix machine tests
Catch up with regressions that have occurred since the tests were originally written. Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/machine/e2e/list_test.go')
-rw-r--r--pkg/machine/e2e/list_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/machine/e2e/list_test.go b/pkg/machine/e2e/list_test.go
index 9e3e9956c..fb855c61e 100644
--- a/pkg/machine/e2e/list_test.go
+++ b/pkg/machine/e2e/list_test.go
@@ -130,7 +130,7 @@ var _ = Describe("podman machine list", func() {
// --format json
list2 := new(listMachine)
list2 = list2.withFormat("json")
- listSession2, err := mb.setName("foo1").setCmd(list2).run()
+ listSession2, err := mb.setCmd(list2).run()
Expect(err).To(BeNil())
Expect(listSession2).To(Exit(0))
@@ -145,7 +145,6 @@ var _ = Describe("podman machine list", func() {
Expect(listSession3).To(Exit(0))
listNames3 := listSession3.outputToStringSlice()
Expect(listNames3).To(HaveLen(2))
- Expect(listNames3).To(ContainSubstring("NAME"))
})
})