Skip to content

Commit 85262f0

Browse files
committed
Test fix
1 parent b2d3bce commit 85262f0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

http-tests/imports/PUT-file-format-browser.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ initial_format=$(echo "$file_doc_ntriples" | sed -rn "s/<${file_uri//\//\\/}> <h
5151

5252
# re-upload the same file to the same document with explicit media type: text/csv
5353
# using PUT with RDF/POST multipart format
54-
# IMPORTANT: Include explicit dct:format in RDF to simulate user editing the format field in the form
54+
# IMPORTANT: Do NOT include explicit dct:format in RDF - test fallback to bodyPart.getMediaType()
5555

5656
rdf_post=""
5757
rdf_post+="-F \"rdf=\"\n"
@@ -62,8 +62,6 @@ rdf_post+="-F \"pu=http://purl.org/dc/terms/title\"\n"
6262
rdf_post+="-F \"ol=Test File for Browser Media Type\"\n"
6363
rdf_post+="-F \"pu=http://www.w3.org/1999/02/22-rdf-syntax-ns#type\"\n"
6464
rdf_post+="-F \"ou=http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject\"\n"
65-
rdf_post+="-F \"pu=http://purl.org/dc/terms/format\"\n"
66-
rdf_post+="-F \"ou=http://www.sparontologies.net/mediatype/text/csv\"\n"
6765
rdf_post+="-F \"su=${file_doc}\"\n"
6866
rdf_post+="-F \"pu=http://purl.org/dc/terms/title\"\n"
6967
rdf_post+="-F \"ol=Test File for Browser Media Type\"\n"

0 commit comments

Comments
 (0)