From 9c3af103e09bdcb4addeab973881eb27bc91722d Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 11 Mar 2019 22:12:36 -0700 Subject: [PATCH] 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. --- .../ScheduledTasksEndpointAutoConfigurationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/scheduling/ScheduledTasksEndpointAutoConfigurationTests.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/scheduling/ScheduledTasksEndpointAutoConfigurationTests.java index 992c536eb7..d210da7632 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/scheduling/ScheduledTasksEndpointAutoConfigurationTests.java +++ b/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 { } @Configuration - private static class CustomEndpointConfiguration { + static class CustomEndpointConfiguration { @Bean public CustomEndpoint customEndpoint() {