mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Upgrade http(s)-proxy-agent dependent npm packages (#22306)
This commit is contained in:
@@ -77,7 +77,7 @@ describe('SchemaCompareDialog.openDialog @DacFx@', function (): void {
|
||||
});
|
||||
|
||||
it('Verify server dropdown gets populated appropriately', async function (): Promise<void> {
|
||||
const connectionProfile = azdataTest.stubs.connectionProfile.createConnectionProfile();
|
||||
const connectionProfile = azdataTest.stubs.azdata.createConnectionProfile();
|
||||
const getConnectionsResults: azdata.connection.ConnectionProfile[] = [{ ...connectionProfile }];
|
||||
sinon.stub(azdata.connection, 'getCurrentConnection').resolves(undefined);
|
||||
sinon.stub(azdata.connection, 'openConnectionDialog').resolves(<any>Promise.resolve(connectionProfile));
|
||||
@@ -106,8 +106,8 @@ describe('SchemaCompareDialog.openDialog @DacFx@', function (): void {
|
||||
});
|
||||
|
||||
it('Verify source server dropdown does not get updated when target server is updated', async function (): Promise<void> {
|
||||
const connectionProfile1 = azdataTest.stubs.connectionProfile.createConnectionProfile({ connectionName: 'connection1', connectionId: 'testId1', databaseName: 'db1'});
|
||||
const connectionProfile2 = azdataTest.stubs.connectionProfile.createConnectionProfile({ connectionName: 'connection2', connectionId: 'testId2', databaseName: 'db2'});
|
||||
const connectionProfile1 = azdataTest.stubs.azdata.createConnectionProfile({ connectionName: 'connection1', connectionId: 'testId1', databaseName: 'db1' });
|
||||
const connectionProfile2 = azdataTest.stubs.azdata.createConnectionProfile({ connectionName: 'connection2', connectionId: 'testId2', databaseName: 'db2' });
|
||||
|
||||
sinon.stub(azdata.connection, 'getCurrentConnection').resolves({ ...connectionProfile1 });
|
||||
sinon.stub(azdata.connection, 'openConnectionDialog').resolves(<any>Promise.resolve(connectionProfile2));
|
||||
|
||||
@@ -116,7 +116,7 @@ describe('utils: In-depth tests to verify verifyConnectionAndGetOwnerUri', funct
|
||||
});
|
||||
|
||||
it('Should throw an error for login failure', async function (): Promise<void> {
|
||||
const connectionProfile = azdataTest.stubs.connectionProfile.createConnectionProfile({
|
||||
const connectionProfile = azdataTest.stubs.azdata.createConnectionProfile({
|
||||
// these need to match what's in mockConnectionInfo in testUtils.ts
|
||||
options: {
|
||||
server: mockConnectionInfo.serverName,
|
||||
|
||||
Reference in New Issue
Block a user