Fix test for Java version in image building docs
See gh-22916
This commit is contained in:
parent
005ed8b8db
commit
4c6a722f18
|
|
@ -226,7 +226,7 @@ class PackagingDocumentationTests {
|
||||||
void bootBuildImageWithCustomBuildpackJvmVersion() throws IOException {
|
void bootBuildImageWithCustomBuildpackJvmVersion() throws IOException {
|
||||||
BuildResult result = this.gradleBuild.script("src/docs/gradle/packaging/boot-build-image-env")
|
BuildResult result = this.gradleBuild.script("src/docs/gradle/packaging/boot-build-image-env")
|
||||||
.build("bootBuildImageEnvironment");
|
.build("bootBuildImageEnvironment");
|
||||||
assertThat(result.getOutput()).contains("BP_JVM_VERSION=13.0.1");
|
assertThat(result.getOutput()).contains("BP_JVM_VERSION=8.*");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestTemplate
|
@TestTemplate
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue