mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 09:35:39 -05:00
Remove deprecated "Asynchronous Processing" connection property (#20830)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user