6ae09f3074
This PR modifies every test in `builtin/credentials/approle/path_role_test.go` with new validation checks to ensure that approle/path_role successful responses align with the declared response schema. It also introduces a test helper in `sdk/helper/testhelpers`: ```go func FindResponseSchema(t *testing.T, ...) ``` This test helper will be useful for all plugins that require similar response schema validation in tests. ### Background This PR is part of the ongoing work to add structured responses in Vault OpenAPI (VLT-234) |
||
---|---|---|
.. | ||
cmd/approle | ||
backend.go | ||
backend_test.go | ||
path_login.go | ||
path_login_test.go | ||
path_role.go | ||
path_role_test.go | ||
path_tidy_user_id.go | ||
path_tidy_user_id_test.go | ||
validation.go | ||
validation_test.go |