|
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.cache; |
18 | 18 |
|
19 | 19 | import java.util.Collections;
|
20 | 20 | import java.util.HashMap;
|
|
23 | 23 |
|
24 | 24 | import org.junit.jupiter.api.Test;
|
25 | 25 |
|
| 26 | +import org.springframework.boot.actuate.autoconfigure.endpoint.web.documentation.MockMvcEndpointDocumentationTests; |
26 | 27 | import org.springframework.boot.actuate.cache.CachesEndpoint;
|
27 | 28 | import org.springframework.boot.actuate.cache.CachesEndpointWebExtension;
|
28 | 29 | import org.springframework.cache.CacheManager;
|
29 | 30 | import org.springframework.cache.concurrent.ConcurrentMapCacheManager;
|
30 | 31 | import org.springframework.context.annotation.Bean;
|
31 | 32 | import org.springframework.context.annotation.Configuration;
|
32 |
| -import org.springframework.context.annotation.Import; |
33 | 33 | import org.springframework.http.HttpStatus;
|
34 | 34 | import org.springframework.restdocs.mockmvc.MockMvcRestDocumentation;
|
35 | 35 | import org.springframework.restdocs.payload.FieldDescriptor;
|
@@ -89,7 +89,6 @@ void evictNamedCache() {
|
89 | 89 | }
|
90 | 90 |
|
91 | 91 | @Configuration(proxyBeanMethods = false)
|
92 |
| - @Import(BaseDocumentationConfiguration.class) |
93 | 92 | static class TestConfiguration {
|
94 | 93 |
|
95 | 94 | @Bean
|
|
0 commit comments