Skip to content

Commit 4c6a722

Browse files
Fix test for Java version in image building docs
See gh-22916
1 parent 005ed8b commit 4c6a722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ void bootJarLayeredExcludeTools() throws IOException {
226226
void bootBuildImageWithCustomBuildpackJvmVersion() throws IOException {
227227
BuildResult result = this.gradleBuild.script("src/docs/gradle/packaging/boot-build-image-env")
228228
.build("bootBuildImageEnvironment");
229-
assertThat(result.getOutput()).contains("BP_JVM_VERSION=13.0.1");
229+
assertThat(result.getOutput()).contains("BP_JVM_VERSION=8.*");
230230
}
231231

232232
@TestTemplate

0 commit comments

Comments
 (0)