mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Restore test for authority as was before - no authorities for value pairs
This commit is contained in:
@@ -109,6 +109,11 @@ plugin.sequence.java.util.Collection = \
|
||||
java.util.Stack, \
|
||||
java.util.TreeSet
|
||||
|
||||
# Enable a test authority control on dc.language.iso field
|
||||
choices.plugin.dc.language.iso = common_iso_languages
|
||||
choices.presentation.dc.language.iso = select
|
||||
authority.controlled.dc.language.iso = true
|
||||
|
||||
###########################################
|
||||
# PROPERTIES USED TO TEST CONFIGURATION #
|
||||
# PROPERTY EXPOSURE VIA REST #
|
||||
|
@@ -490,8 +490,8 @@ public class ItemTest extends AbstractDSpaceObjectTest {
|
||||
// Set the item to have two pieces of metadata for dc.type and dc2.type
|
||||
String dcType = "DC-TYPE";
|
||||
String testType = "TEST-TYPE";
|
||||
itemService.addMetadata(context, it, "dc", "type", null, null, dcType, "accepted", 0);
|
||||
itemService.addMetadata(context, it, "test", "type", null, null, testType, "accepted", 0);
|
||||
itemService.addMetadata(context, it, "dc", "type", null, null, dcType);
|
||||
itemService.addMetadata(context, it, "test", "type", null, null, testType);
|
||||
|
||||
// Check that only one is returned when we ask for all dc.type values
|
||||
List<MetadataValue> values = itemService.getMetadata(it, "dc", "type", null, null);
|
||||
|
Reference in New Issue
Block a user