Commit cac6ad21 authored by Phillip Webb's avatar Phillip Webb

Fix WebIntegrationTest JavaDoc

The example `@Value("server.local.port")` should read
`@Value("${local.server.port}")`.

Fixes gh-2628
parent 16495d22
...@@ -55,8 +55,8 @@ public @interface WebIntegrationTest { ...@@ -55,8 +55,8 @@ public @interface WebIntegrationTest {
/** /**
* Convenience attribute that can be used to set a {@code server.port=0} * Convenience attribute that can be used to set a {@code server.port=0}
* {@link Environment} property which usually triggers listening on a random port. * {@link Environment} property which usually triggers listening on a random port.
* Often used in conjunction with a {@code @Value("server.local.port")} injected field * Often used in conjunction with a <code>&#064;Value("${local.server.port}")</code>
* on the test. * injected field on the test.
*/ */
boolean randomPort() default false; boolean randomPort() default false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment