Skip to content

Commit 19d0586

Browse files
matthijslnmprins
authored andcommitted
formatting
1 parent 1127841 commit 19d0586

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ void getFeaturesWithAttachments(String layerUrl, int x, int y, int distance, Str
292292
.andExpect(jsonPath("$.columnMetadata[?(@.name=='" + gmlIdKey + "')]")
293293
.isNotEmpty())
294294
.andExpect(jsonPath("$.attachmentMetadata[0].maxAttachmentSize").value(4_000_000))
295-
.andExpect(jsonPath("$.attachmentMetadata[0].mimeType").value("image/jpeg, image/svg+xml"))
295+
.andExpect(
296+
jsonPath("$.attachmentMetadata[0].mimeType").value("image/jpeg, image/svg+xml, .png, image/*"))
296297
.andExpect(jsonPath("$.attachmentMetadata[0].attributeName").value("bijlage"))
297298
.andExpect(jsonPath("$.features[0].attachments").isArray())
298299
.andExpect(jsonPath("$.features[0].attachments[0].fileName").value("lichtpunt.svg"));

0 commit comments

Comments
 (0)