mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-02 01:25:39 -05:00
Additional tests for connection (#10944)
* Added providerRegistered test * test for EditConnectionDialog * changed wording * added test for connectionInfo * utils.ts tests added * hasRegisteredServers test * commented out editconnection tests, addl. tests * added onConnectionChangedNotification test * added changeGroupId tests * Added connection profile changes * added connectIfNotConnected test * added delete connection test * isRecent and disconnect editor tests * added registerIconProvider test * Fix for ensureDefaultLanguageFlavor test * added a few tests * utils prefix test updated * added utils tests
This commit is contained in:
@@ -769,7 +769,7 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
* @param uri document identifier
|
||||
*/
|
||||
public ensureDefaultLanguageFlavor(uri: string): void {
|
||||
if (!this.getProviderIdFromUri(uri)) {
|
||||
if (this.getProviderIdFromUri(uri) === '') {
|
||||
// Lookup the default settings and use this
|
||||
let defaultProvider = this.getDefaultProviderId();
|
||||
if (defaultProvider) {
|
||||
|
||||
Reference in New Issue
Block a user