open-vault/builtin/credential
Anton Averchenkov 6ae09f3074
Add AppRole response schema validation tests (#18636)
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)
2023-01-13 15:23:36 -05:00
..
approle Add AppRole response schema validation tests (#18636) 2023-01-13 15:23:36 -05:00
aws Add LICENSE back to pkcs7 (#18527) 2022-12-22 09:54:43 -08:00
cert Document adding metadata to entity alias within cert auth (#18308) 2022-12-12 13:08:00 -05:00
github * setting uploadurl explicitly empty (#16779) 2022-08-18 16:26:55 -04:00
ldap Return errInvalidCredentials when wrong credentials is provided for existent users (#17104) 2022-09-27 16:49:14 -07:00
okta fix auth renew panic (#18011) 2022-11-18 10:38:18 -05:00
radius Use hashicorp mirror for container pulls (#17778) 2022-11-02 13:33:17 -04:00
token Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
userpass Return errInvalidCredentials when wrong credentials is provided for existent users (#17104) 2022-09-27 16:49:14 -07:00