Skip to content

Commit bdef7d2

Browse files
committed
Merge branch '3.3.x' into 3.4.x
Closes gh-45396
2 parents e900e6f + 9582ac7 commit bdef7d2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/jms/JmsHealthContributorAutoConfigurationTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -20,7 +20,6 @@
2020

2121
import org.springframework.boot.actuate.autoconfigure.health.HealthContributorAutoConfiguration;
2222
import org.springframework.boot.actuate.jms.JmsHealthIndicator;
23-
import org.springframework.boot.actuate.ldap.LdapHealthIndicator;
2423
import org.springframework.boot.autoconfigure.AutoConfigurations;
2524
import org.springframework.boot.autoconfigure.jms.artemis.ArtemisAutoConfiguration;
2625
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
@@ -46,7 +45,7 @@ void runShouldCreateIndicator() {
4645
@Test
4746
void runWhenDisabledShouldNotCreateIndicator() {
4847
this.contextRunner.withPropertyValues("management.health.jms.enabled:false")
49-
.run((context) -> assertThat(context).doesNotHaveBean(LdapHealthIndicator.class));
48+
.run((context) -> assertThat(context).doesNotHaveBean(JmsHealthIndicator.class));
5049
}
5150

5251
}

0 commit comments

Comments
 (0)