Fix connectionSettingName for create azure function with sql binding (#19008)

* fix connectionSettingName for create azure function with sql binding

* add sql binding user enters connection string manually

* address comments + fix test

* final comments
This commit is contained in:
Vasu Bhog
2022-04-13 15:53:27 -07:00
committed by GitHub
parent 7dfa347250
commit ca05e01144
5 changed files with 211 additions and 101 deletions

View File

@@ -117,8 +117,8 @@ describe('Add SQL Binding quick pick', () => {
await launchAddSqlBindingQuickpick(vscode.Uri.file('testUri'));
// should go back to the select connection string methods
should(quickpickStub.callCount === 5);
should(quickpickStub.getCall(4).args).deepEqual([
should(quickpickStub.callCount === 4);
should(quickpickStub.getCall(3).args).deepEqual([
[constants.connectionProfile, constants.userConnectionString],
{
canPickMany: false,