Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure messageSource type is StaticMessageSource for tests #431

Closed
wants to merge 1 commit into from

Commits on Sep 29, 2024

  1. Ensure messageSource type is StaticMessageSource for tests which incl…

    …udes addMessage() methods
    
    after removing micronaut, the messageSource type was PluginAwareResourceBundleMessageSource instead of StaticMessageSource when the tests execute
    
    org.grails.plugins.i18n.I18nGrailsPlugin doWithSpring() sets messageSource to type PluginAwareResourceBundleMessageSource
    
    org.grails.testing.GrailsApplicationBuilder.build() sets messageSource to type StaticMessageSource in doWithSpringClosure which calls registerBeans()
    jamesfredley committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    c6937cb View commit details
    Browse the repository at this point in the history