Skip to content

Commit 5437634

Browse files
committed
Update tests to look for snippets in correct location
See gh-23598
1 parent 7eb92cc commit 5437634

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/docs/RunningDocumentationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ void bootRunDisableOptimizedLaunch() throws IOException {
7373

7474
@TestTemplate
7575
void bootRunSystemPropertyDefaultValue() throws IOException {
76-
assertThat(this.gradleBuild.script("src/main/gradle/running/boot-run-system-property")
76+
assertThat(this.gradleBuild.script("src/docs/gradle/running/boot-run-system-property")
7777
.build("configuredSystemProperties").getOutput()).contains("com.example.property = default");
7878
}
7979

8080
@TestTemplate
8181
void bootRunSystemPropetry() throws IOException {
82-
assertThat(this.gradleBuild.script("src/main/gradle/running/boot-run-system-property")
82+
assertThat(this.gradleBuild.script("src/docs/gradle/running/boot-run-system-property")
8383
.build("-Pexample=custom", "configuredSystemProperties").getOutput())
8484
.contains("com.example.property = custom");
8585
}

0 commit comments

Comments
 (0)