diff --git a/packages/salesforcedx-vscode-core/test/vscode-integration/util/cliConfiguration.test.ts b/packages/salesforcedx-vscode-core/test/vscode-integration/util/cliConfiguration.test.ts index a466860964..9612c4c904 100644 --- a/packages/salesforcedx-vscode-core/test/vscode-integration/util/cliConfiguration.test.ts +++ b/packages/salesforcedx-vscode-core/test/vscode-integration/util/cliConfiguration.test.ts @@ -67,12 +67,12 @@ describe('SFDX CLI Configuration utility', () => { }); describe('showCLINotInstalledMessage', () => { - let mShowWarning: SinonStub; + let mShowError: SinonStub; beforeEach(() => { sandboxStub = createSandbox(); - mShowWarning = sandboxStub - .stub(window, 'showWarningMessage') + mShowError = sandboxStub + .stub(window, 'showErrorMessage') .returns(Promise.resolve(null)); }); @@ -82,7 +82,7 @@ describe('SFDX CLI Configuration utility', () => { it('Should show cli install info message', async () => { showCLINotInstalledMessage(); - assert.calledOnce(mShowWarning); + assert.calledOnce(mShowError); }); });