kwin commented on code in PR #624:
URL: 
https://github.com/apache/maven-doxia-sitetools/pull/624#discussion_r2935068117


##########
doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/DefaultSiteRendererTest.java:
##########
@@ -334,8 +353,11 @@ void velocityToolManager() throws Exception {
         siteRenderingContext.setTemplateProperties(attributes);
 
         
siteRenderingContext.setTemplateName("org/apache/maven/doxia/siterenderer/velocity-toolmanager.vm");
-        DocumentRenderingContext docRenderingContext =
-                new DocumentRenderingContext(new File(""), "document.html", 
"generator");
+
+        InfoItem infoItem = Mockito.mock(InfoItem.class);
+        
Mockito.when(infoItem.getLastChangedDateTime()).thenReturn(OffsetDateTime.parse("2024-06-01T12:00:00Z"));

Review Comment:
   We had a discussion back then but this is SCM API that prescribes the type!



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