Commit 9e62471
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
This file was deleted.
0 commit comments