mbien commented on code in PR #766:
URL: https://github.com/apache/maven-indexer/pull/766#discussion_r4138064006


##########
indexer-core/src/test/java/org/apache/maven/index/PathApiTest.java:
##########
@@ -107,8 +107,7 @@ void artifactContextPaths() {
 
     @Test
     void indexPackingRequestPath() {
-        IndexPackingRequest request =
-                new IndexPackingRequest(mock(IndexingContext.class), 
mock(IndexReader.class), dir);
+        IndexPackingRequest request = new 
IndexPackingRequest(mock(IndexingContext.class), mock(LeafReader.class), dir);

Review Comment:
   in case anyone is wondering: `IndexReader` is no longer mockable since its 
sealed+abstract, so I had to pick a leaf interface.



-- 
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