diff options
Diffstat (limited to 'pkg/bindings/test/manifests_test.go')
-rw-r--r-- | pkg/bindings/test/manifests_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/bindings/test/manifests_test.go b/pkg/bindings/test/manifests_test.go index 64becda43..895e1a29d 100644 --- a/pkg/bindings/test/manifests_test.go +++ b/pkg/bindings/test/manifests_test.go @@ -87,7 +87,6 @@ var _ = Describe("podman manifest", func() { list, err := manifests.Inspect(bt.conn, id, nil) Expect(err).ToNot(HaveOccurred()) - Expect(len(list.Manifests)).To(BeNumerically("==", 1)) // add bogus name to existing list should fail @@ -96,7 +95,7 @@ var _ = Describe("podman manifest", func() { Expect(err).To(HaveOccurred()) code, _ = bindings.CheckResponseCode(err) - Expect(code).To(BeNumerically("==", http.StatusInternalServerError)) + Expect(code).To(BeNumerically("==", http.StatusBadRequest)) }) It("remove digest", func() { @@ -129,7 +128,6 @@ var _ = Describe("podman manifest", func() { // removal on good manifest with good digest should work data, err = manifests.Inspect(bt.conn, id, nil) Expect(err).ToNot(HaveOccurred()) - Expect(data.Manifests).Should(BeEmpty()) }) |