From 82097d5307156e599334bd28b5dc51a06a816e90 Mon Sep 17 00:00:00 2001 From: "B. Seeger" Date: Mon, 3 Feb 2020 13:33:34 -0500 Subject: [PATCH] Adds prefix for dcterms to module (#757) fixes: https://github.com/Islandora/documentation/issues/1412 --- islandora.module | 1 + tests/src/Functional/JsonldSelfReferenceReactionTest.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/islandora.module b/islandora.module index 3d415094..7af255e3 100644 --- a/islandora.module +++ b/islandora.module @@ -51,6 +51,7 @@ function islandora_rdf_namespaces() { return [ 'ldp' => 'http://www.w3.org/ns/ldp#', 'dc11' => 'http://purl.org/dc/elements/1.1/', + 'dcterms' => 'http://purl.org/dc/terms/', 'nfo' => 'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo/v1.1/', 'ebucore' => 'http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#', 'fedora' => 'http://fedora.info/definitions/v4/repository#', diff --git a/tests/src/Functional/JsonldSelfReferenceReactionTest.php b/tests/src/Functional/JsonldSelfReferenceReactionTest.php index 0026b289..7f99d625 100644 --- a/tests/src/Functional/JsonldSelfReferenceReactionTest.php +++ b/tests/src/Functional/JsonldSelfReferenceReactionTest.php @@ -28,7 +28,7 @@ class JsonldSelfReferenceReactionTest extends IslandoraFunctionalTestBase { ->setBundleMapping(['types' => $types]) ->setFieldMapping('created', $created_mapping) ->setFieldMapping('title', [ - 'properties' => ['dc:title'], + 'properties' => ['dcterms:title'], 'datatype' => 'xsd:string', ]) ->save();