mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 01:25:36 -05:00
no longer filtering to well-known database sources (#22864)
This commit is contained in:
@@ -141,12 +141,5 @@ describe('Tests to verify utils functions', function (): void {
|
||||
should(utils.findSqlVersionInTargetPlatform('Azure SQL Database')).equals(undefined, 'invalid number returned for Azure SQL Database');
|
||||
should(utils.findSqlVersionInTargetPlatform('Azure Synapse SQL Pool')).equals(undefined, 'invalid number returned for Azure Synapse SQL Pool');
|
||||
});
|
||||
|
||||
it('Should only return well known database strings when getWellKnownDatabaseSources function is called', async function (): Promise<void> {
|
||||
const sources = ['test1', 'test2', 'test3', constants.WellKnownDatabaseSources[0]];
|
||||
|
||||
(utils.getWellKnownDatabaseSources(sources).length).should.equal(1);
|
||||
(utils.getWellKnownDatabaseSources(sources)[0]).should.equal(constants.WellKnownDatabaseSources[0]);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user