chore(test): fix integration tests

This commit is contained in:
Richard Simpson 2020-01-14 20:41:52 -06:00
parent 3d4cea598b
commit 42a9c06aa7
4 changed files with 64 additions and 61 deletions

View file

@ -23,12 +23,11 @@ describe('integration', () => {
headers: {
'X-Vault-Token': 'testtoken',
},
body: {
json: {
data: {
secret: 'SUPERSECRET',
},
},
json: true,
});
await got(`${vaultUrl}/v1/secret/data/nested/test`, {
@ -36,12 +35,11 @@ describe('integration', () => {
headers: {
'X-Vault-Token': 'testtoken',
},
body: {
json: {
data: {
otherSecret: 'OTHERSUPERSECRET',
},
},
json: true,
});
});