From 996ec753ab0b5ee31f05e8f1aec12d5b996d7a1b Mon Sep 17 00:00:00 2001 From: Kea Horvath Date: Fri, 17 Mar 2023 03:16:11 +0100 Subject: [PATCH] correction test --- backend/src/test/java/pdl/backend/ImageControllerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/test/java/pdl/backend/ImageControllerTests.java b/backend/src/test/java/pdl/backend/ImageControllerTests.java index 9500c24..a633f1b 100644 --- a/backend/src/test/java/pdl/backend/ImageControllerTests.java +++ b/backend/src/test/java/pdl/backend/ImageControllerTests.java @@ -92,7 +92,7 @@ public class ImageControllerTests { @Test @Order(7) public void createImageShouldReturnSuccess() throws Exception { - final ClassPathResource imgFile = new ClassPathResource("images/montagne.png"); + final ClassPathResource imgFile = new ClassPathResource("images/nebuleuse.png"); MockMultipartFile multipartFile = new MockMultipartFile("file", "test.jpg", "image/jpeg", imgFile.getInputStream()); this.mockMvc.perform(MockMvcRequestBuilders.multipart("/images").file(multipartFile)).andDo(print())