diff --git a/spring-boot/src/main/java/org/springframework/boot/test/WebIntegrationTest.java b/spring-boot/src/main/java/org/springframework/boot/test/WebIntegrationTest.java index fe5e7b8d0c..b1b8ecfcfd 100644 --- a/spring-boot/src/main/java/org/springframework/boot/test/WebIntegrationTest.java +++ b/spring-boot/src/main/java/org/springframework/boot/test/WebIntegrationTest.java @@ -55,8 +55,8 @@ public @interface WebIntegrationTest { /** * Convenience attribute that can be used to set a {@code server.port=0} * {@link Environment} property which usually triggers listening on a random port. - * Often used in conjunction with a {@code @Value("server.local.port")} injected field - * on the test. + * Often used in conjunction with a @Value("${local.server.port}") + * injected field on the test. */ boolean randomPort() default false;