Migrate cert validation error handling to mssql extension (#21829)

This commit is contained in:
Cheena Malhotra
2023-02-07 09:21:35 -08:00
committed by GitHub
parent e1b35d266a
commit 66410edf02
29 changed files with 352 additions and 92 deletions

View File

@@ -172,7 +172,7 @@ export class TestConnectionManagementService implements IConnectionManagementSer
connect(connection: IConnectionProfile, uri: string, options?: IConnectionCompletionOptions, callbacks?: IConnectionCallbacks): Promise<IConnectionResult> {
return new Promise<IConnectionResult>((resolve, reject) => {
resolve({ connected: true, errorMessage: undefined!, errorCode: undefined!, callStack: undefined! });
resolve({ connected: true, errorMessage: undefined!, errorCode: undefined!, messageDetails: undefined! });
});
}
@@ -334,4 +334,8 @@ export class TestConnectionManagementService implements IConnectionManagementSer
openChangePasswordDialog(profile: IConnectionProfile): Promise<string | undefined> {
return undefined;
}
openCustomErrorDialog(options: azdata.window.IErrorDialogOptions): Promise<string | undefined> {
return undefined;
}
}