Skip to content

Commit 67425d6

Browse files
committed
Update o# integration tests to specify new setting
1 parent 326c0b7 commit 67425d6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

omnisharptest/omnisharpIntegrationTests/dotnetTest.integration.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ suite(`DotnetTest: ${testAssetWorkspace.description}`, function () {
4747
});
4848

4949
test('Undefined runsettings path is unchanged', async function () {
50-
const omnisharpConfig = vscode.workspace.getConfiguration('omnisharp');
51-
await omnisharpConfig.update('testRunSettings', undefined);
50+
const omnisharpConfig = vscode.workspace.getConfiguration('dotnet');
51+
await omnisharpConfig.update('unitTests.runSettingsPath', undefined);
5252

5353
const eventWaiter = testAssetWorkspace.waitForEvent<OmnisharpRequestMessage>(
5454
eventStream,
@@ -69,8 +69,8 @@ suite(`DotnetTest: ${testAssetWorkspace.description}`, function () {
6969
const relativeRunSettingsPath = `.\\settings\\TestSettings.runsettings`.replace('\\', path.sep);
7070
const absoluteRunSettingsPath = path.join(process.cwd(), relativeRunSettingsPath);
7171

72-
const omnisharpConfig = vscode.workspace.getConfiguration('omnisharp');
73-
await omnisharpConfig.update('testRunSettings', absoluteRunSettingsPath);
72+
const omnisharpConfig = vscode.workspace.getConfiguration('dotnet');
73+
await omnisharpConfig.update('unitTests.runSettingsPath', absoluteRunSettingsPath);
7474

7575
const eventWaiter = testAssetWorkspace.waitForEvent<OmnisharpRequestMessage>(
7676
eventStream,
@@ -91,8 +91,8 @@ suite(`DotnetTest: ${testAssetWorkspace.description}`, function () {
9191
const endingPath = 'settings\\TestSettings.runsettings'.replace('\\', path.sep);
9292
const relativeRunSettingPath = `.\\${endingPath}`.replace('\\', path.sep);
9393

94-
const omnisharpConfig = vscode.workspace.getConfiguration('omnisharp');
95-
await omnisharpConfig.update('testRunSettings', relativeRunSettingPath);
94+
const omnisharpConfig = vscode.workspace.getConfiguration('dotnet');
95+
await omnisharpConfig.update('unitTests.runSettingsPath', relativeRunSettingPath);
9696

9797
const eventWaiter = testAssetWorkspace.waitForEvent<OmnisharpRequestMessage>(
9898
eventStream,

0 commit comments

Comments
 (0)