Skip to content

Commit

Permalink
linter: Spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
moduli committed Feb 28, 2023
1 parent 9bd5114 commit 8a21667
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions ui/admin/tests/e2e/tests/credential-store-static.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ test('Static Credential Store (User & Key Pair)', async ({ page }) => {
if (process.env.E2E_SSH_USER != retrievedUser) {
throw new Error(
'Stored User does not match. EXPECTED: ' +
process.env.E2E_SSH_USER +
', ACTUAL: ' +
retrievedUser
process.env.E2E_SSH_USER +
', ACTUAL: ' +
retrievedUser
);
}
if (keyData != retrievedKey) {
Expand Down
24 changes: 12 additions & 12 deletions ui/admin/tests/e2e/tests/credential-store-vault.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,22 @@ test('Vault Credential Store (User & Key Pair)', async ({ page }) => {
execSync(`vault secrets enable -path=${secretsPath} kv-v2`);
execSync(
`vault kv put -mount ${secretsPath} ${secretName} ` +
` username=${process.env.E2E_SSH_USER}` +
` private_key=@${process.env.E2E_SSH_KEY_PATH}`
` username=${process.env.E2E_SSH_USER}` +
` private_key=@${process.env.E2E_SSH_KEY_PATH}`
);
execSync(
`vault policy write ${secretPolicyName} ./tests/e2e/tests/fixtures/kv-policy.hcl`
);
const vaultToken = JSON.parse(
execSync(
`vault token create` +
` -no-default-policy=true` +
` -policy=${boundaryPolicyName}` +
` -policy=${secretPolicyName}` +
` -orphan=true` +
` -period=20m` +
` -renewable=true` +
` -format=json`
` -no-default-policy=true` +
` -policy=${boundaryPolicyName}` +
` -policy=${secretPolicyName}` +
` -orphan=true` +
` -period=20m` +
` -renewable=true` +
` -format=json`
)
);
const clientToken = vaultToken.auth.client_token;
Expand Down Expand Up @@ -170,9 +170,9 @@ test('Vault Credential Store (User & Key Pair)', async ({ page }) => {
if (process.env.E2E_SSH_USER != retrievedUser) {
throw new Error(
'Stored User does not match. EXPECTED: ' +
process.env.E2E_SSH_USER +
', ACTUAL: ' +
retrievedUser
process.env.E2E_SSH_USER +
', ACTUAL: ' +
retrievedUser
);
}
if (keyData != retrievedKey) {
Expand Down
12 changes: 6 additions & 6 deletions ui/admin/tests/e2e/tests/dynamic-host-catalog.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ test.describe('AWS', async () => {
if (!hostsAreVisible) {
throw new Error(
'Hosts are not visible. EXPECTED: ' +
expectedHosts.length +
', ACTUAL: ' +
rowCount
expectedHosts.length +
', ACTUAL: ' +
rowCount
);
}

Expand Down Expand Up @@ -211,9 +211,9 @@ test.describe('AWS', async () => {
if (!hostsAreVisible) {
throw new Error(
'Hosts are not visible. EXPECTED: ' +
expectedHosts.length +
', ACTUAL: ' +
rowCount
expectedHosts.length +
', ACTUAL: ' +
rowCount
);
}
});
Expand Down

0 comments on commit 8a21667

Please sign in to comment.