From b4abd530e6af0c352e381d8fefe51528d33b3994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Thu, 12 May 2022 16:04:30 +0200 Subject: [PATCH] fix: PixelTest --- src/test/java/com/pixels/beans/PixelTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/com/pixels/beans/PixelTest.java b/src/test/java/com/pixels/beans/PixelTest.java index dbde338..49801dc 100644 --- a/src/test/java/com/pixels/beans/PixelTest.java +++ b/src/test/java/com/pixels/beans/PixelTest.java @@ -5,6 +5,8 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; +import java.awt.Color; + import org.apache.commons.lang3.SerializationUtils; public class PixelTest { @@ -13,9 +15,7 @@ public class PixelTest { @BeforeAll public static void setUp() throws Exception { - pixel = new Pixel(); - pixel.setId(123456789L); - pixel.setPrice(10); + pixel = new Pixel(10, new Color(255, 255, 255), "pixel de test"); } @Test