fix: PixelTest

This commit is contained in:
Laureηt 2022-05-12 16:04:30 +02:00
parent 1b192bc254
commit b4abd530e6
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

View file

@ -5,6 +5,8 @@ import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
import java.awt.Color;
import org.apache.commons.lang3.SerializationUtils; import org.apache.commons.lang3.SerializationUtils;
public class PixelTest { public class PixelTest {
@ -13,9 +15,7 @@ public class PixelTest {
@BeforeAll @BeforeAll
public static void setUp() throws Exception { public static void setUp() throws Exception {
pixel = new Pixel(); pixel = new Pixel(10, new Color(255, 255, 255), "pixel de test");
pixel.setId(123456789L);
pixel.setPrice(10);
} }
@Test @Test