Remove deprecated "Asynchronous Processing" connection property (#20830)

This commit is contained in:
Cheena Malhotra
2022-10-13 17:00:51 -07:00
committed by GitHub
parent 23dfe62742
commit 80bdc3d6be
7 changed files with 7 additions and 51 deletions

View File

@@ -47,9 +47,9 @@ suite('Advanced options helper tests', () => {
};
booleanOption = {
name: 'asynchronousProcessing',
displayName: 'Asynchronous processing enabled',
description: 'When true, enables usage of the Asynchronous functionality in the .Net Framework Data Provider',
name: 'trustServerCertificate',
displayName: 'Trust Server Certificate enabled',
description: 'When true (and encrypt=true), SQL Server uses SSL encryption for all data sent between the client and server without validating the server certificate',
groupName: 'Initialization',
categoryValues: null,
defaultValue: null,
@@ -228,7 +228,7 @@ suite('Advanced options helper tests', () => {
booleanOption.defaultValue = null;
booleanOption.isRequired = false;
possibleInputs = [];
options['asynchronousProcessing'] = true;
options['trustServerCertificate'] = true;
let optionValue = OptionsDialogHelper.getOptionValueAndCategoryValues(booleanOption, options, possibleInputs);
assert.strictEqual(optionValue, 'True');
assert.strictEqual(possibleInputs.length, 3);
@@ -241,7 +241,7 @@ suite('Advanced options helper tests', () => {
booleanOption.defaultValue = null;
booleanOption.isRequired = true;
possibleInputs = [];
options['asynchronousProcessing'] = 'False';
options['trustServerCertificate'] = 'False';
let optionValue = OptionsDialogHelper.getOptionValueAndCategoryValues(booleanOption, options, possibleInputs);
assert.strictEqual(optionValue, 'False');
assert.strictEqual(possibleInputs.length, 2);