From d4116a6aaf90eb547e9801de2fb3921c6fd32d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Wed, 13 Dec 2023 17:59:05 +0100 Subject: [PATCH] Try max distance to 0 --- .../main/java/org/mapfish/print/test/util/ImageSimilarity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/mapfish/print/test/util/ImageSimilarity.java b/core/src/main/java/org/mapfish/print/test/util/ImageSimilarity.java index 46e8afb471..3b128eac2d 100644 --- a/core/src/main/java/org/mapfish/print/test/util/ImageSimilarity.java +++ b/core/src/main/java/org/mapfish/print/test/util/ImageSimilarity.java @@ -360,7 +360,7 @@ public void assertSimilarity(final File actualFile, final double maxDistance) th * @throws IOException if the image could not be written. */ public void assertSimilarity(final BufferedImage actualImage) throws IOException { - assertSimilarity(actualImage, 1); + assertSimilarity(actualImage, 0); } /**