Restore shouldNotRegisterStructuredLoggingJsonMembersCustomizerRuntimeHints()

See gh-44014

Signed-off-by: Johnny Lim <izeye@naver.com>
This commit is contained in:
Johnny Lim
2025-01-29 12:51:37 -08:00
committed by Phillip Webb
parent 18a89f6007
commit a2217e85fe
@@ -62,6 +62,13 @@ class StructuredLoggingJsonMembersCustomizerBeanFactoryInitializationAotProcesso
.accepts(hints);
}
@Test
void shouldNotRegisterStructuredLoggingJsonMembersCustomizerRuntimeHintsWhenPropertiesAreNotSet() {
MockEnvironment environment = new MockEnvironment();
BeanFactoryInitializationAotContribution contribution = getContribution(environment);
assertThat(contribution).isNull();
}
@Test
void shouldNotRegisterStructuredLoggingJsonMembersCustomizerRuntimeHintsWhenCustomizerIsNotSet() {
MockEnvironment environment = new MockEnvironment();