Skip to content

Commit

Permalink
Test adjusted.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdedic committed Feb 15, 2024
1 parent d861375 commit c261808
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ public void testPrimingBuildExecutes() throws Exception {
setupBrokenProject();
Project p = ProjectManager.getDefault().findProject(FileUtil.toFileObject(getWorkDir()));
Collection<? extends ProjectProblemsProvider.ProjectProblem> probs = collectProblems(p);
assertEquals(1, probs.size());
// #1 - parent POM is missing, #2 - dependencies are missing.
assertEquals(2, probs.size());
ActionProvider ap = p.getLookup().lookup(ActionProvider.class);
boolean enabled = ap.isActionEnabled(ActionProvider.COMMAND_PRIME, Lookups.fixed(r));
assertTrue(enabled);
Expand Down

0 comments on commit c261808

Please sign in to comment.