Skip to content

Commit 2e638ac

Browse files
mprinsCopilot
andcommitted
Update src/test/java/org/tailormap/api/controller/AttachmentsControllerIntegrationTest.java
Co-authored-by: Copilot <[email protected]>
1 parent 0b40921 commit 2e638ac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/java/org/tailormap/api/controller/AttachmentsControllerIntegrationTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.delete;
99
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
10-
import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print;
1110
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
1211
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.header;
1312
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
@@ -183,7 +182,6 @@ void getAttachment(String url) throws Exception {
183182
.andExpect(content().contentType("image/svg+xml"))
184183
.andExpect(header().string("Content-Type", "image/svg+xml"))
185184
.andExpect(header().string("Content-Disposition", "inline; filename=\"lichtpunt.svg\""))
186-
.andExpect(header().string("Content-Type", "image/svg+xml"))
187185
.andExpect(content()
188186
.bytes(new ClassPathResource("test/lichtpunt.svg")
189187
.getInputStream()

0 commit comments

Comments
 (0)