From 759cfdc91fec50a1b3112b6dd934d6356b111c8e Mon Sep 17 00:00:00 2001 From: Jan Dolejsi Date: Wed, 24 Jul 2024 18:33:44 +0200 Subject: [PATCH] test assertions (only one out-of-the-box planner config) --- src/test/suite/PlannerConfiguration.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/suite/PlannerConfiguration.test.ts b/src/test/suite/PlannerConfiguration.test.ts index 05e9811..8c44911 100644 --- a/src/test/suite/PlannerConfiguration.test.ts +++ b/src/test/suite/PlannerConfiguration.test.ts @@ -30,7 +30,7 @@ suite('Planner configuration test', () => { await clearConfiguration(); }); - const outOfTheBoxPlanners = 2; + const outOfTheBoxPlanners = 1; test('Default planners are returned in blank configuration', () => { const wf = assertDefined(workspace.workspaceFolders, "workspace folders")[0]; @@ -43,7 +43,7 @@ suite('Planner configuration test', () => { const defaultPlanner = planners[0]; expect(defaultPlanner).to.not.be.undefined; expect(defaultPlanner.scope).to.equal(PlannerConfigurationScope.Default); - expect(defaultPlanner.configuration.url).to.equal('https://solver.planning.domains/solve'); + expect(defaultPlanner.configuration.url).to.equal('https://solver.planning.domains:5001/package'); }); test('Creates a user-level planner', async () => { @@ -303,7 +303,7 @@ suite('Planner configuration test', () => { expect(migratedPlanner).to.not.be.undefined; expect(migratedPlanner.scope).to.equal(PlannerConfigurationScope.User); expect(migratedPlanner.configuration.url).to.equal(executable); - expect(migratedPlanner.configuration.title).to.equal(executable + ' #2'); + expect(migratedPlanner.configuration.title).to.equal(executable); });