Update integration.test.js

This commit is contained in:
Hazer Lin 2024-04-15 14:40:43 +08:00 committed by GitHub
parent 589f91e020
commit 52600773ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ describe('integration', () => {
headers: {
'X-Vault-Token': vaultToken,
},
body: `{"data":{"secret.foo":"SUPERSECRET"}}`
body: `{"data":{"secret.foo":{"SUPERKEY":"SUPERSECRET"}}}`
});
await got(`${vaultUrl}/v1/secret/data/nested/test`, {