mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-23 01:25:38 -05:00
Change back to existing identity design (#20991)
This commit is contained in:
@@ -216,10 +216,11 @@ suite('SQL ProviderConnectionInfo tests', () => {
|
||||
|
||||
test('getOptionsKey should create a valid unique id', () => {
|
||||
let options: { [key: string]: string } = {};
|
||||
// Setting custom options are not yet considered for profile identity
|
||||
options['encrypt'] = 'true';
|
||||
connectionProfile.options = options;
|
||||
let conn = new ProviderConnectionInfo(capabilitiesService, connectionProfile);
|
||||
let expectedId = 'providerName:MSSQL|authenticationType:|databaseName:database|encrypt:true|serverName:new server|userName:user';
|
||||
let expectedId = 'providerName:MSSQL|authenticationType:|databaseName:database|serverName:new server|userName:user';
|
||||
let id = conn.getOptionsKey();
|
||||
assert.strictEqual(id, expectedId);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user