Skip to content
Browse files

Add the resource map format id to the system metadata of a resource m…

…ap in the testPackage method.
  • Loading branch information
taojing2002 committed Nov 20, 2018
1 parent d48ec83 commit 1804564bd9aa612a2c65a0f9546852e8abff18af
Showing with 3 additions and 0 deletions.
  1. +3 −0 test/edu/ucsb/nceas/metacat/dataone/
@@ -241,6 +241,9 @@ public void testPackage() throws Exception {
String resourceMapXML = ResourceMapFactory.getInstance().serializeResourceMap(rm);
InputStream object3 = new ByteArrayInputStream(resourceMapXML.getBytes("UTF-8"));
SystemMetadata sysmeta3 = createSystemMetadata(resourceMapId, session.getSubject(), object3);
ObjectFormatIdentifier formatId3 = new ObjectFormatIdentifier();
MNodeService.getInstance(request).create(session, resourceMapId, object3, sysmeta3);


0 comments on commit 1804564

Please sign in to comment.
You can’t perform that action at this time.