Skip to content

Commit

Permalink
test assertions (only one out-of-the-box planner config)
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-dolejsi committed Jul 24, 2024
1 parent 151499c commit 759cfdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/suite/PlannerConfiguration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand All @@ -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 () => {
Expand Down Expand Up @@ -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);
});


Expand Down

0 comments on commit 759cfdc

Please sign in to comment.