Fix cms integration tests (#6734)

* attmpt to fix cms tests

* attmpt to fix cms
This commit is contained in:
Anthony Dresser
2019-08-13 14:11:48 -07:00
committed by GitHub
parent 1d52a83730
commit e9c234a0ae

View File

@@ -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) {
});
});
}