Skip to content

Commit

Permalink
fix public data check for new logic
Browse files Browse the repository at this point in the history
  • Loading branch information
dkj committed Jan 20, 2025
1 parent a29e5ce commit bf0c225
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ var _ = Describe("iRODS Get Handler", func() {
Expect(err).NotTo(HaveOccurred())
})

It("should return Forbidden", func(ctx SpecContext) {
It("should return Ok", func(ctx SpecContext) {
rec := httptest.NewRecorder()
handler.ServeHTTP(rec, r)

Expect(rec.Code).To(Equal(http.StatusForbidden))
Expect(rec.Code).To(Equal(http.StatusOK))
}, SpecTimeout(specTimeout))
})
})
Expand Down

0 comments on commit bf0c225

Please sign in to comment.