Skip to content

Commit 9e62471

Browse files
committed
test: rewrite validation tests using full ApisixConsumer CRD schema
Replace the previous approach of extracting jwtAuth.value subschema with a consumerSchemaValidator that loads and validates against the complete ApisixConsumer CRD schema. Test inputs use Go structs (ApisixConsumer) marshaled to JSON, matching what Kubernetes actually receives.
1 parent 6073371 commit 9e62471

2 files changed

Lines changed: 310 additions & 222 deletions

File tree

api/v2/apisixconsumer_jwtauth_cel_test.go

Lines changed: 0 additions & 222 deletions
This file was deleted.

0 commit comments

Comments
 (0)