This commit is contained in:
Stephane Nicoll
2021-11-05 13:43:38 +01:00
parent 9887daac07
commit cd5508a679

View File

@@ -105,13 +105,6 @@ class MessageSourceAutoConfigurationTests {
});
}
@Test
void testBadEncoding() {
// Bad encoding just means the messages are ignored
this.contextRunner.withPropertyValues("spring.messages.encoding:rubbish")
.run((context) -> assertThat(context.getMessage("foo", null, "blah", Locale.UK)).isEqualTo("blah"));
}
@Test
@Disabled("Expected to fail per gh-1075")
void testMessageSourceFromPropertySourceAnnotation() {