diff --git a/conformance/02_push_test.go b/conformance/02_push_test.go index c8844114..8da40359 100644 --- a/conformance/02_push_test.go +++ b/conformance/02_push_test.go @@ -421,6 +421,7 @@ var test02Push = func() { BeNumerically("<", 300), ), Equal(http.StatusMethodNotAllowed), + Equal(http.StatusNotFound), )) }) diff --git a/conformance/04_management_test.go b/conformance/04_management_test.go index 556d06d0..1fabe432 100644 --- a/conformance/04_management_test.go +++ b/conformance/04_management_test.go @@ -153,7 +153,10 @@ var test04ContentManagement = func() { resp, err = client.Do(req) Expect(err).To(BeNil()) Expect(err).To(BeNil()) - Expect(resp.StatusCode()).To(Equal(http.StatusAccepted)) + Expect(resp.StatusCode()).To(SatisfyAny( + Equal(http.StatusAccepted), + Equal(http.StatusNotFound), + )) }) g.Specify("GET request to deleted blob URL should yield 404 response", func() {