mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 17:22:51 -05:00
use the actual unique id to compare connection (#17229)
* use the actual unique id to compare connection * fix test error and pr comments
This commit is contained in:
@@ -251,6 +251,7 @@ suite('SQL ConnectionStatusManager tests', () => {
|
||||
newConnection.options['databaseDisplayName'] = newConnection.databaseName;
|
||||
connections.addConnection(newConnection, 'test_uri_1');
|
||||
connections.addConnection(newConnection, 'test_uri_2');
|
||||
newConnection = new ConnectionProfile(capabilitiesService, newConnection);
|
||||
|
||||
// Get the connections and verify that the duplicate is only returned once
|
||||
let activeConnections = connections.getActiveConnectionProfiles();
|
||||
|
||||
Reference in New Issue
Block a user