Skip to content

Commit

Permalink
Update testcase to check for Maven warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ericglau committed Feb 8, 2021
1 parent 65a52dc commit b1dc772
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public void invalidDependencyTest() throws Exception {
String invalidDep = "<dependency>\n" + " <groupId>io.openliberty.features</groupId>\n"
+ " <artifactId>abcd</artifactId>\n" + " <version>1.0</version>\n" + " </dependency>";
replaceString(invalidDepComment, invalidDep, pom);
assertTrue(verifyLogMessageExists("Unable to resolve artifact: io.openliberty.features:abcd:1.0", 10000));
assertTrue(verifyLogMessageExists("The POM for io.openliberty.features:abcd:jar:1.0 is missing, no dependency information available", 10000));
}

@Test
Expand Down

0 comments on commit b1dc772

Please sign in to comment.