Create project within folder (#11037)

This commit is contained in:
Benjin Dubishar
2020-06-22 21:27:16 -07:00
committed by GitHub
parent 98ff618efd
commit d0b71e116b
2 changed files with 8 additions and 2 deletions

View File

@@ -166,7 +166,7 @@ describe.skip('ProjectsController: project controller operations', function ():
let profilePath = await testUtils.createTestFile(baselines.publishProfileBaseline, 'publishProfile.publish.xml');
const projController = new ProjectsController(testContext.apiWrapper.object, new SqlDatabaseProjectTreeViewProvider());
let result = await projController.readPublishProfile(vscode.Uri.parse(profilePath));
let result = await projController.readPublishProfile(vscode.Uri.file(profilePath));
should(result.databaseName).equal('targetDb');
should(Object.keys(result.sqlCmdVariables).length).equal(1);
should(result.sqlCmdVariables['ProdDatabaseName']).equal('MyProdDatabase');