Skip to content

Commit

Permalink
Merge pull request quarkusio#2873 from rsvoboda/bootstrap.asserts
Browse files Browse the repository at this point in the history
LocalWorkspaceDiscoveryTest - adding missing assertions
  • Loading branch information
gsmet authored Jun 18, 2019
2 parents 293d8b6 + 406e7df commit 68bf66d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void loadIndependentProjectInTheWorkspaceTree() throws Exception {
assertEquals(MvnProjectBuilder.DEFAULT_VERSION, project.getVersion());
final Map<AppArtifactKey, LocalProject> projects = project.getWorkspace().getProjects();
assertEquals(1, projects.size());
projects.containsKey(new AppArtifactKey(MvnProjectBuilder.DEFAULT_GROUP_ID, "independent"));
assertTrue(projects.containsKey(new AppArtifactKey(MvnProjectBuilder.DEFAULT_GROUP_ID, "independent")));

assertLocalDeps(project);
}
Expand All @@ -124,7 +124,7 @@ public void loadWorkspaceForModuleWithoutParent() throws Exception {
assertNotNull(project.getWorkspace());
final Map<AppArtifactKey, LocalProject> projects = project.getWorkspace().getProjects();
assertEquals(1, projects.size());
projects.containsKey(new AppArtifactKey(MvnProjectBuilder.DEFAULT_GROUP_ID, "root-no-parent-module"));
assertTrue(projects.containsKey(new AppArtifactKey(MvnProjectBuilder.DEFAULT_GROUP_ID, "root-no-parent-module")));
assertLocalDeps(project);
}

Expand Down

0 comments on commit 68bf66d

Please sign in to comment.