Add back getOptionsKey test that was reverted (#23274)

* Add back getOptionsKey test that was reverted

* Add serverCapabilities to the IConnectionProfile object
This commit is contained in:
Karl Burtram
2023-05-31 17:59:18 -07:00
committed by GitHub
parent a7ed867066
commit b0c27baa15
12 changed files with 33 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ suite('SQL ConnectionManagementService tests', () => {
savePassword: true,
groupFullName: 'g2/g2-2',
groupId: 'group id',
serverCapabilities: undefined,
getOptionsKey: () => { return 'connectionId'; },
getOptionKeyIdNames: undefined!,
matches: undefined,

View File

@@ -74,6 +74,7 @@ suite('Insights Dialog Controller Tests', () => {
savePassword: true,
groupFullName: '',
groupId: '',
serverCapabilities: undefined,
getOptionsKey: () => '',
getOptionKeyIdNames: undefined!,
matches: undefined,

View File

@@ -35,6 +35,7 @@ suite('AsyncServerTreeDragAndDrop', () => {
savePassword: true,
groupFullName: 'g2/g2-2',
groupId: 'group id',
serverCapabilities: undefined,
getOptionsKey: undefined!,
getOptionKeyIdNames: undefined!,
matches: undefined!,

View File

@@ -40,6 +40,7 @@ suite('SQL Drag And Drop Controller tests', () => {
savePassword: true,
groupFullName: 'g2/g2-2',
groupId: 'group id',
serverCapabilities: undefined,
getOptionsKey: undefined!,
getOptionKeyIdNames: undefined!,
matches: undefined!,
@@ -59,6 +60,7 @@ suite('SQL Drag And Drop Controller tests', () => {
savePassword: true,
groupFullName: 'g2/g2-2',
groupId: 'group id',
serverCapabilities: undefined,
getOptionsKey: undefined!,
getOptionKeyIdNames: undefined!,
matches: undefined!,

View File

@@ -88,6 +88,7 @@ suite('Firewall rule dialog controller tests', () => {
savePassword: true,
groupFullName: 'g2/g2-2',
groupId: 'group id',
serverCapabilities: undefined,
getOptionsKey: () => '',
getOptionKeyIdNames: undefined!,
matches: () => false,