Skip to content

Commit de0a19b

Browse files
committed
Fix InfoEndpointDocumentationTests
1 parent b2151a7 commit de0a19b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/info/InfoEndpointDocumentationTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package org.springframework.boot.actuate.autoconfigure.info;
1818

19-
import java.time.Duration;
2019
import java.time.Instant;
2120
import java.util.List;
2221
import java.util.Properties;
@@ -264,7 +263,7 @@ SslInfo sslInfo() {
264263
.withPassword("secret");
265264
SslStoreBundle sslStoreBundle = new JksSslStoreBundle(keyStoreDetails, null);
266265
sslBundleRegistry.registerBundle("test-0", SslBundle.of(sslStoreBundle));
267-
return new SslInfo(sslBundleRegistry, Duration.ofDays(7));
266+
return new SslInfo(sslBundleRegistry);
268267
}
269268

270269
@Bean

0 commit comments

Comments
 (0)