Fix BaseComponentDTOTest to point to an image file which actually exists.
This commit is contained in:
parent
254e5670da
commit
953082ea05
@ -37,7 +37,7 @@ public class BaseComponentDTOTest {
|
|||||||
BodyTubeDTO dto = new BodyTubeDTO(preset);
|
BodyTubeDTO dto = new BodyTubeDTO(preset);
|
||||||
|
|
||||||
//Add an image to the DTO.
|
//Add an image to the DTO.
|
||||||
BufferedImage image = ImageIO.read(this.getClass().getResourceAsStream("or_launcher.png"));
|
BufferedImage image = ImageIO.read(this.getClass().getResourceAsStream("/pix/splashscreen.png"));
|
||||||
dto.setImage(image);
|
dto.setImage(image);
|
||||||
|
|
||||||
JAXBContext binder = JAXBContext.newInstance(OpenRocketComponentDTO.class);
|
JAXBContext binder = JAXBContext.newInstance(OpenRocketComponentDTO.class);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user