Fix WebIntegrationTest JavaDoc
The example `@Value("server.local.port")` should read `@Value("${local.server.port}")`. Fixes gh-2628
This commit is contained in:
parent
16495d223a
commit
cac6ad21c1
|
@ -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 <code>@Value("${local.server.port}")</code>
|
||||
* injected field on the test.
|
||||
*/
|
||||
boolean randomPort() default false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue