Browse Source

Fix ScheduledTasksEndpointAutoConfigurationTests

Update the `CustomEndpointConfiguration` class in
`ScheduledTasksEndpointAutoConfigurationTests` to be package private
so that it can be enhanced by cglib.

Prior to merge commit 361437f4 the class was a lite configuration so
it didn't matter that it was a private class.
pull/16246/head
Phillip Webb 7 years ago
parent
commit
9c3af103e0
  1. 2
      spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/scheduling/ScheduledTasksEndpointAutoConfigurationTests.java

2
spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/scheduling/ScheduledTasksEndpointAutoConfigurationTests.java

@ -62,7 +62,7 @@ public class ScheduledTasksEndpointAutoConfigurationTests { @@ -62,7 +62,7 @@ public class ScheduledTasksEndpointAutoConfigurationTests {
}
@Configuration
private static class CustomEndpointConfiguration {
static class CustomEndpointConfiguration {
@Bean
public CustomEndpoint customEndpoint() {

Loading…
Cancel
Save