summaryrefslogtreecommitdiff
path: root/pkg/bindings/test/manifests_test.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2022-02-17 09:27:46 -0700
committerMatthew Heon <matthew.heon@pm.me>2022-02-17 12:34:05 -0500
commitae9ad416a35a23afd11426fb4a2e65e9b45bd22f (patch)
treeb0319e0b779cac416a7db060b097c4f75332c14c /pkg/bindings/test/manifests_test.go
parent1a8c715f1fa3fb417cd7ca3cde5e1c7e5391b3f4 (diff)
downloadpodman-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.go4
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())
})