fix: PixelTest
This commit is contained in:
parent
1b192bc254
commit
b4abd530e6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue