See gh-27827
This commit is contained in:
izeye
2021-12-16 23:15:18 +09:00
committed by Stephane Nicoll
parent fa78fb4351
commit 713795cc34
5 changed files with 4 additions and 5 deletions

View File

@@ -340,7 +340,7 @@ public class ExceptionHandlerExceptionResolverTests {
}
@Test //gh-27156
void resolveExceptionWithReasonResovledByMessageSource() throws Exception {
void resolveExceptionWithReasonResolvedByMessageSource() throws Exception {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(MyConfig.class);
StaticApplicationContext context = new StaticApplicationContext(ctx);
Locale locale = Locale.ENGLISH;

View File

@@ -196,7 +196,6 @@ public class ServletInvocableHandlerMethodTests {
context.refresh();
ConfigurableListableBeanFactory beanFactory = context.getBeanFactory();
System.out.println(beanFactory.getType(beanName));
LocaleContextHolder.setLocale(locale);
try {