GetVaultConfig tests fixed
Signed-off-by: Casper Thygesen <cth@trifork.com>
This commit is contained in:
@@ -40,6 +40,7 @@ describe('GetVaultConfig', () => {
|
||||
const vaultConfig = getVaultConfig(config);
|
||||
expect(vaultConfig).toStrictEqual({
|
||||
baseUrl: 'http://www.example.com',
|
||||
publicUrl: undefined,
|
||||
token: '123',
|
||||
kvVersion: 2,
|
||||
secretEngine: 'secrets',
|
||||
@@ -59,6 +60,7 @@ describe('GetVaultConfig', () => {
|
||||
const vaultConfig = getVaultConfig(config);
|
||||
expect(vaultConfig).toStrictEqual({
|
||||
baseUrl: 'http://www.example.com',
|
||||
publicUrl: undefined,
|
||||
token: '123',
|
||||
kvVersion: 1,
|
||||
secretEngine: 'test',
|
||||
|
||||
Reference in New Issue
Block a user