mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-04-11 14:40:05 +00:00
feat: make secret names less derp for tsts
This commit is contained in:
parent
13eebbc4e5
commit
b524055d38
5 changed files with 19 additions and 26 deletions
|
|
@ -1,7 +1,7 @@
|
|||
describe('e2e', () => {
|
||||
it('verify', () => {
|
||||
expect(process.env.A).toBe("1");
|
||||
expect(process.env.NAMED_TOKEN).toBe("1");
|
||||
expect(process.env.E).toBe("4");
|
||||
expect(process.env.SECRET).toBe("SUPERSECRET");
|
||||
expect(process.env.NAMED_SECRET).toBe("SUPERSECRET");
|
||||
expect(process.env.OTHERSECRET).toBe("OTHERSUPERSECRET");
|
||||
});
|
||||
});
|
||||
|
|
@ -16,9 +16,7 @@ const got = require('got');
|
|||
},
|
||||
body: {
|
||||
data: {
|
||||
a: 1,
|
||||
b: 2,
|
||||
c: 3,
|
||||
secret: "SUPERSECRET",
|
||||
},
|
||||
},
|
||||
json: true,
|
||||
|
|
@ -31,9 +29,7 @@ const got = require('got');
|
|||
},
|
||||
body: {
|
||||
data: {
|
||||
e: 4,
|
||||
f: 5,
|
||||
g: 6,
|
||||
otherSecret: "OTHERSUPERSECRET",
|
||||
},
|
||||
},
|
||||
json: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue