martin-g commented on a change in pull request #400: WICKET-6725: replace 
display: none by css class
URL: https://github.com/apache/wicket/pull/400#discussion_r369382673
 
 

 ##########
 File path: 
wicket-core/src/main/java/org/apache/wicket/mock/MockApplication.java
 ##########
 @@ -71,5 +71,7 @@ protected void internalInit()
 
                // for test cases we usually want stable resource names
                
getResourceSettings().setCachingStrategy(NoOpResourceCachingStrategy.INSTANCE);
+               // the core CSS causes noise in tests and isn't needed
+               getResourceSettings().disableWicketCoreCSS();
 
 Review comment:
   The "noise" is the extra `<link>` element in the `<head>` of every 
`**-expected.html` in the test suite

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to