Revert "Ignore deprecation warning caused by Framework"

This reverts commit b23d7fe203.

Closes gh-47364
This commit is contained in:
Stéphane Nicoll
2025-10-15 18:20:20 +02:00
parent c478c13e66
commit aab6375702
@@ -312,8 +312,6 @@ class PaketoBuilderTests {
// these deprecations are from native image buildpacks
this.gradleBuild.expectDeprecationMessages("Using a deprecated option --report-unsupported-elements-at-runtime",
"The option is deprecated and will be removed in the future.");
// this deprecation is from Framework (spring-projects/spring-framework#35557)
this.gradleBuild.expectDeprecationMessages("Using a deprecated option --install-exit-handlers");
writeMainClass();
String imageName = "paketo-integration/" + this.gradleBuild.getProjectDir().getName();
ImageReference imageReference = ImageReference.of(ImageName.of(imageName));