mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 23:43:06 +00:00
Refactored the usages of MetadataSchema.DC to use the enum instead
This commit is contained in:
@@ -95,7 +95,7 @@ public class MetadataValueTest extends AbstractUnitTest {
|
||||
this.it = installItemService.installItem(context, workspaceItem);
|
||||
|
||||
this.mf = metadataFieldService.findByElement(context,
|
||||
MetadataSchema.DC_SCHEMA, element, qualifier);
|
||||
MetadataSchemaEnum.DC.getName(), element, qualifier);
|
||||
this.mv = metadataValueService.create(context, it, mf);
|
||||
context.restoreAuthSystemState();
|
||||
} catch (AuthorizeException ex) {
|
||||
|
Reference in New Issue
Block a user