Skip to content

Commit

Permalink
test: nuts use messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Dec 6, 2023
1 parent 8f64883 commit 31f27cc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/nuts/plugin-install.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('plugins:install commands', () => {
ensureExitCode: 0,
cli: 'sf',
});
expect(result.shellOutput.stdout).to.contain(`Successfully validated digital signature for ${SIGNED_MODULE_NAME}`);
expect(result.shellOutput.stdout).to.contain(messages.getMessage('SignatureCheckSuccess', [SIGNED_MODULE_NAME]));
});

it('plugins:install prompts on unsigned plugin (denies)', async () => {
Expand Down Expand Up @@ -102,8 +102,6 @@ describe('plugins:install commands', () => {
ensureExitCode: 0,
cli: 'sf',
});
expect(result.shellOutput.stdout).to.contain(
`The plugin [${UNSIGNED_MODULE_NAME2}] is not digitally signed but it is allow-listed.`
);
expect(result.shellOutput.stdout).to.contain(messages.getMessage('SkipSignatureCheck', [UNSIGNED_MODULE_NAME2]));
});
});

0 comments on commit 31f27cc

Please sign in to comment.