mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Merge branch '2.3.x'
This commit is contained in:
commit
b7d020d3c2
@ -73,13 +73,13 @@ class RunningDocumentationTests {
|
|||||||
|
|
||||||
@TestTemplate
|
@TestTemplate
|
||||||
void bootRunSystemPropertyDefaultValue() throws IOException {
|
void bootRunSystemPropertyDefaultValue() throws IOException {
|
||||||
assertThat(this.gradleBuild.script("src/main/gradle/running/boot-run-system-property")
|
assertThat(this.gradleBuild.script("src/docs/gradle/running/boot-run-system-property")
|
||||||
.build("configuredSystemProperties").getOutput()).contains("com.example.property = default");
|
.build("configuredSystemProperties").getOutput()).contains("com.example.property = default");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestTemplate
|
@TestTemplate
|
||||||
void bootRunSystemPropetry() throws IOException {
|
void bootRunSystemPropetry() throws IOException {
|
||||||
assertThat(this.gradleBuild.script("src/main/gradle/running/boot-run-system-property")
|
assertThat(this.gradleBuild.script("src/docs/gradle/running/boot-run-system-property")
|
||||||
.build("-Pexample=custom", "configuredSystemProperties").getOutput())
|
.build("-Pexample=custom", "configuredSystemProperties").getOutput())
|
||||||
.contains("com.example.property = custom");
|
.contains("com.example.property = custom");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user