Revision 10189
Added by ben leinfelder over 7 years ago
test/edu/ucsb/nceas/metacat/dataone/RegisterDOITest.java | ||
---|---|---|
236 | 236 |
String registeredTarget = metadata.get(InternalProfile.TARGET.toString()); |
237 | 237 |
assertTrue(registeredTarget.endsWith("/#view/" + pid.getValue())); |
238 | 238 |
} |
239 |
if (isMetadata) { |
|
240 |
String creator = metadata.get(DataCiteProfile.CREATOR.toString()); |
|
241 |
assertTrue(creator.equals("adfasd")); |
|
242 |
} |
|
239 | 243 |
|
240 | 244 |
System.out.println("tested with DOI: " + pid.getValue()); |
241 | 245 |
|
Also available in: Unified diff
add test to check if creator value is correctly being extracted from eml when registering with EZID. https://github.nceas.ucsb.edu/KNB/arctic-data/issues/143