From e9c234a0ae831ab0037d4fd0cac69a53e557c476 Mon Sep 17 00:00:00 2001 From: Anthony Dresser Date: Tue, 13 Aug 2019 14:11:48 -0700 Subject: [PATCH] Fix cms integration tests (#6734) * attmpt to fix cms tests * attmpt to fix cms --- extensions/integration-tests/src/cms.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extensions/integration-tests/src/cms.test.ts b/extensions/integration-tests/src/cms.test.ts index a9c28557e6..e208d8b054 100644 --- a/extensions/integration-tests/src/cms.test.ts +++ b/extensions/integration-tests/src/cms.test.ts @@ -31,7 +31,7 @@ if (context.RunTest) { setup(async function () { // Set up CMS provider if (!cmsService) { - let api: mssql.MssqlExtensionApi = vscode.extensions.getExtension('Microsoft.mssql').exports; + let api: mssql.MssqlExtensionApi = await vscode.extensions.getExtension('Microsoft.mssql').activate(); cmsService = await api.getCmsServiceProvider(); assert(cmsService !== undefined); } @@ -166,4 +166,3 @@ if (context.RunTest) { }); }); } -