Add missing expected deprecation

See gh-50793
This commit is contained in:
Stéphane Nicoll
2026-07-20 12:34:18 +02:00
parent 49fe3dd3ba
commit 97d6609c2f
@@ -315,6 +315,8 @@ 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.gradleBuild
.expectDeprecationMessages("Using a Project object as a dependency notation has been deprecated");
writeMainClass();
String imageName = "paketo-integration/" + this.gradleBuild.getProjectDir().getName();
ImageReference imageReference = ImageReference.of(ImageName.of(imageName));