Restore shouldNotRegisterStructuredLoggingJsonMembersCustomizerRuntimeHints()
See gh-44014 Signed-off-by: Johnny Lim <izeye@naver.com>
This commit is contained in:
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();
|
||||
|
|
Loading…
Reference in New Issue