|
1 | 1 | /*
|
2 |
| - * Copyright 2012-2024 the original author or authors. |
| 2 | + * Copyright 2012-2025 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
|
14 | 14 | * limitations under the License.
|
15 | 15 | */
|
16 | 16 |
|
17 |
| -package org.springframework.boot.actuate.autoconfigure.endpoint.web.documentation; |
| 17 | +package org.springframework.boot.actuate.autoconfigure.health; |
18 | 18 |
|
19 | 19 | import java.io.File;
|
20 | 20 | import java.util.Collections;
|
|
26 | 26 |
|
27 | 27 | import org.junit.jupiter.api.Test;
|
28 | 28 |
|
| 29 | +import org.springframework.boot.actuate.autoconfigure.endpoint.web.documentation.MockMvcEndpointDocumentationTests; |
29 | 30 | import org.springframework.boot.actuate.endpoint.SecurityContext;
|
30 | 31 | import org.springframework.boot.actuate.health.AdditionalHealthEndpointPath;
|
31 | 32 | import org.springframework.boot.actuate.health.CompositeHealthContributor;
|
|
47 | 48 | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
48 | 49 | import org.springframework.context.annotation.Bean;
|
49 | 50 | import org.springframework.context.annotation.Configuration;
|
50 |
| -import org.springframework.context.annotation.Import; |
51 | 51 | import org.springframework.http.MediaType;
|
52 | 52 | import org.springframework.restdocs.payload.FieldDescriptor;
|
53 | 53 | import org.springframework.util.unit.DataSize;
|
@@ -105,7 +105,6 @@ void healthComponentInstance() throws Exception {
|
105 | 105 | }
|
106 | 106 |
|
107 | 107 | @Configuration(proxyBeanMethods = false)
|
108 |
| - @Import(BaseDocumentationConfiguration.class) |
109 | 108 | @ImportAutoConfiguration(DataSourceAutoConfiguration.class)
|
110 | 109 | static class TestConfiguration {
|
111 | 110 |
|
|
0 commit comments