authValidator -> jwtValidator
@@ -1255,7 +1255,7 @@ var _ = Describe("Pipelines API", func() {
Context("when authenticated", func() {
BeforeEach(func() {
- authValidator.IsAuthenticatedReturns(true)
+ jwtValidator.IsAuthenticatedReturns(true)
})
Context("when requester belongs to the team", func() {
@@ -1370,7 +1370,7 @@ var _ = Describe("Pipelines API", func() {
Context("when not authenticated", func() {
BeforeEach(func() {
- authValidator.IsAuthenticatedReturns(false)
+ jwtValidator.IsAuthenticatedReturns(false)
})
It("returns 401", func() {
