From d2f06cba09d1d166364667ac53360103ea221855 Mon Sep 17 00:00:00 2001 From: Software Magico Date: Fri, 22 Nov 2024 10:16:40 +0100 Subject: [PATCH] Fixing tests --- .../test/java/com/softwaremagico/kt/core/tests/QrTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/kendo-tournament-core/src/test/java/com/softwaremagico/kt/core/tests/QrTests.java b/backend/kendo-tournament-core/src/test/java/com/softwaremagico/kt/core/tests/QrTests.java index 1ed68b93..909dd3ef 100644 --- a/backend/kendo-tournament-core/src/test/java/com/softwaremagico/kt/core/tests/QrTests.java +++ b/backend/kendo-tournament-core/src/test/java/com/softwaremagico/kt/core/tests/QrTests.java @@ -99,20 +99,20 @@ public void createQrWithLogoAsSvg() { @Test public void createQrWithLogoAsSvgAndColor() { - BufferedImage qrImage = qrProvider.getQr(SOFTWARE_URL, 5000, Color.PINK, "/kote.svg"); + BufferedImage qrImage = qrProvider.getQr(SOFTWARE_URL, 5000, Color.PINK, "/kote.svg", Color.white); saveImage(qrImage, "withLogoAsSvgAndColor"); } @Test public void createQrWithRoundedBorders() { - BufferedImage qrImage = qrProvider.getQr(SOFTWARE_URL, null, COLOR, LOGO); + BufferedImage qrImage = qrProvider.getQr(SOFTWARE_URL, null, COLOR, LOGO, Color.white); saveImage(qrImage, "withRoundedBorders"); } @Test public void createQrWithRoundedBordersAndCircles() { - BufferedImage qrImage = qrProvider.getQr(SOFTWARE_URL, null, COLOR, LOGO, true); + BufferedImage qrImage = qrProvider.getQr(SOFTWARE_URL, null, COLOR, LOGO, true, Color.white); saveImage(qrImage, "withRoundedBordersAndCircles"); }