Skip to content

Commit a7bed3d

Browse files
committed
use 'bijlage' instead of 'attachmentName'
1 parent 045554a commit a7bed3d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/org/tailormap/api/configuration/dev/PopulateTestData.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ private void createCatalogTestData() throws Exception {
924924
ft.getSettings().addAttributeOrderItem("class");
925925
ft.getSettings()
926926
.addAttachmentAttributesItem(new AttachmentAttributeType()
927-
.attributeName("attachmentName")
927+
.attributeName("bijlage")
928928
.maxAttachmentSize(4_000_000L)
929929
.mimeType("image/jpeg, image/svg+xml"));
930930
try {
@@ -958,7 +958,7 @@ private void createCatalogTestData() throws Exception {
958958
.ifPresent(ft -> {
959959
ft.getSettings()
960960
.addAttachmentAttributesItem(new AttachmentAttributeType()
961-
.attributeName("attachmentName")
961+
.attributeName("bijlage")
962962
.maxAttachmentSize(4_000_000L)
963963
.mimeType("image/jpeg, image/svg+xml"));
964964
try {
@@ -973,7 +973,7 @@ private void createCatalogTestData() throws Exception {
973973
.ifPresent(ft -> {
974974
ft.getSettings()
975975
.addAttachmentAttributesItem(new AttachmentAttributeType()
976-
.attributeName("attachmentName")
976+
.attributeName("bijlage")
977977
.maxAttachmentSize(4_000_000L)
978978
.mimeType("image/jpeg, image/svg+xml"));
979979
try {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class AttachmentsControllerIntegrationTest {
6262
"application/json",
6363
"""
6464
{
65-
"attributeName":"attachmentName",
65+
"attributeName":"bijlage",
6666
"mimeType":"image/svg+xml",
6767
"fileName":"lichtpunt.svg",
6868
"description":"A test SVG attachment"

0 commit comments

Comments
 (0)