Skip to content

Commit eef1a88

Browse files
AlinsRanCopilot
andcommitted
test: stabilize standalone apisixconsumer webhook e2e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4dee995 commit eef1a88

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

test/e2e/webhook/apisixconsumer.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,12 @@ metadata:
101101
spec:
102102
ingressClassName: %s
103103
authParameter:
104-
jwtAuth:
104+
keyAuth:
105105
value:
106106
key: consumer-a-key
107-
algorithm: HS256
108-
secret: consumer-a-secret
109107
`, s.Namespace(), s.Namespace())
110108

111-
By("creating the first ApisixConsumer with valid jwt-auth config")
109+
By("creating the first ApisixConsumer with valid key-auth config")
112110
err := s.CreateResourceFromString(firstConsumer)
113111
Expect(err).NotTo(HaveOccurred(), "creating first ApisixConsumer")
114112

0 commit comments

Comments
 (0)