mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-05-06 18:14:47 +00:00
chore(test): fix integration tests
This commit is contained in:
parent
3d4cea598b
commit
42a9c06aa7
4 changed files with 64 additions and 61 deletions
|
|
@ -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,
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue