Fix launcher path in Paketo system tests

See gh-37667
This commit is contained in:
Scott Frederick 2023-10-04 13:33:24 -05:00
parent ee00014dfe
commit 361f737086

View File

@ -94,9 +94,9 @@ class PaketoBuilderTests {
"paketo-buildpacks/executable-jar", "paketo-buildpacks/dist-zip",
"paketo-buildpacks/spring-boot");
metadata.processOfType("web")
.containsExactly("java", "org.springframework.boot.loader.launch.launch.JarLauncher");
.containsExactly("java", "org.springframework.boot.loader.launch.JarLauncher");
metadata.processOfType("executable-jar")
.containsExactly("java", "org.springframework.boot.loader.launch.launch.JarLauncher");
.containsExactly("java", "org.springframework.boot.loader.launch.JarLauncher");
});
assertImageHasJvmSbomLayer(imageReference, config);
assertImageHasDependenciesSbomLayer(imageReference, config, "executable-jar");