Skip to content

Commit 9efafc9

Browse files
AlinsRanCopilot
andcommitted
test: stabilize corrected consumer webhook e2e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9a29eb2 commit 9efafc9

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

test/e2e/webhook/apisixconsumer.go

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,12 @@ metadata:
143143
spec:
144144
ingressClassName: %s
145145
authParameter:
146-
jwtAuth:
146+
keyAuth:
147147
value:
148-
key: consumer-b-key
149-
algorithm: RS256
150-
private_key: |
151-
%s
152-
`, s.Namespace(), s.Namespace(), privateKeyYAML)
148+
key: consumer-b-corrected-key
149+
`, s.Namespace(), s.Namespace())
153150

154-
By("creating corrected ApisixConsumer with a valid algorithm")
151+
By("creating corrected ApisixConsumer with valid auth config")
155152
err = s.CreateResourceFromString(correctedConsumer)
156153
Expect(err).NotTo(HaveOccurred(), "creating corrected ApisixConsumer")
157154
})

0 commit comments

Comments
 (0)