diff options
author | Jhon Honce <jhonce@redhat.com> | 2022-02-17 09:27:46 -0700 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-02-17 12:34:05 -0500 |
commit | ae9ad416a35a23afd11426fb4a2e65e9b45bd22f (patch) | |
tree | b0319e0b779cac416a7db060b097c4f75332c14c /pkg/bindings/test/manifests_test.go | |
parent | 1a8c715f1fa3fb417cd7ca3cde5e1c7e5391b3f4 (diff) | |
download | podman-ae9ad416a35a23afd11426fb4a2e65e9b45bd22f.tar.gz podman-ae9ad416a35a23afd11426fb4a2e65e9b45bd22f.tar.bz2 podman-ae9ad416a35a23afd11426fb4a2e65e9b45bd22f.zip |
Fix manifest 4.0 Endpoints
Branch forced 4.0 only endpoints
Signed-off-by: Jhon Honce <jhonce@redhat.com>
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()) }) |