diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/logging/OnEnabledLoggingExportConditionTests.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/logging/OnEnabledLoggingExportConditionTests.java index 1bca2e10715a..61dca50d6e14 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/logging/OnEnabledLoggingExportConditionTests.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/logging/OnEnabledLoggingExportConditionTests.java @@ -90,7 +90,7 @@ void shouldMatchIfExporterPropertyIsTrue() { void exporterPropertyShouldOverrideGlobalPropertyIfTrue() { OnEnabledLoggingExportCondition condition = new OnEnabledLoggingExportCondition(); ConditionOutcome outcome = condition.getMatchOutcome(mockConditionContext( - Map.of("management.logging.enabled", "false", "management.otlp.logging.export.enabled", "true")), + Map.of("management.logging.export.enabled", "false", "management.otlp.logging.export.enabled", "true")), mockMetadata("otlp")); assertThat(outcome.isMatch()).isTrue(); assertThat(outcome.getMessage()) @@ -101,7 +101,7 @@ void exporterPropertyShouldOverrideGlobalPropertyIfTrue() { void exporterPropertyShouldOverrideGlobalPropertyIfFalse() { OnEnabledLoggingExportCondition condition = new OnEnabledLoggingExportCondition(); ConditionOutcome outcome = condition.getMatchOutcome(mockConditionContext( - Map.of("management.logging.enabled", "true", "management.otlp.logging.export.enabled", "false")), + Map.of("management.logging.export.enabled", "true", "management.otlp.logging.export.enabled", "false")), mockMetadata("otlp")); assertThat(outcome.isMatch()).isFalse(); assertThat(outcome.getMessage())