RAJ-debug858 commented on code in PR #15002:
URL: https://github.com/apache/grails-core/pull/15002#discussion_r2293965145
##########
grails-testing-support-core/src/main/groovy/org/grails/testing/context/junit4/GrailsTestConfiguration.java:
##########
@@ -29,7 +29,7 @@
* @author Graeme Rocher
* @since 3.0
*/
-@ContextConfiguration(loader = GrailsApplicationContextLoader.class)
+@ContextConfiguration(loader = SpringBootContextLoader.class)
Review Comment:
okay we should use the Grails-specific context loader since it provides
Grails
application context setup rather than just generic Spring Boot context.
The GrailsApplicationContextLoader
extends SpringBootContextLoader but adds Grails-specific initialization
through GrailsApp.
--
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]