Skip to content

Commit 8f832b6

Browse files
wantaekchoisnicoll
authored andcommitted
Fix declared type of spring.test.mockmvc.htmlunit.url
The manual metadata entry declares java.lang.Boolean while its description and default value ("http://localhost") describe a URL string, and MockMvcWebClientAutoConfiguration and MockMvcWebDriverAutoConfiguration read the property as a string. See gh-51110 Signed-off-by: wantaek <wantaekchoi@gmail.com>
1 parent f1e1aea commit 8f832b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

module/spring-boot-webmvc-test/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"properties": [
33
{
44
"name": "spring.test.mockmvc.htmlunit.url",
5-
"type": "java.lang.Boolean",
5+
"type": "java.lang.String",
66
"description": "URL to use when HtmlUnit expands relative paths.",
77
"defaultValue": "http://localhost"
88
},

0 commit comments

Comments
 (0)