michalwedzik commented on code in PR #62:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-analyser/pull/62#discussion_r3749949749


##########
src/test/java/org/apache/sling/feature/analyser/task/impl/repoinitconflicts/RepoInitConflictsValidatorTest.java:
##########
@@ -69,9 +69,10 @@ void shouldReportConflictForSamePathDifferentType() {
         assertTrue(report.hasConflicts());
 
         List<String> result = report.generate();
-        assertTrue(result.get(1).contains("Incorrect repoinit for feature"));
-        assertTrue(result.get(2).contains("Found 1 sets of conflicting 
repoinit statements"));
-        assertTrue(result.get(3).contains("/apps/a/b"));
+        assertTrue(result.get(1).contains("Repoinit validation conflict 
summary"));

Review Comment:
   Sounds good.
   
   BTW, I implemented it so that each element of the list in ValidationReport 
is logged as a separate message. However, during testing, I noticed that the 
log messages are not next to each other. I'll change it so that each report is 
logged as a single log message.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to