File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
goobi-viewer-connector/src/test/java/io/goobi/viewer/connector/oai/model/formats Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ void getIdentifyXML_shouldConstructElementCorrectly() throws Exception {
48
48
Assertions .assertEquals ("2012-10-10T12:07:32Z" , eleIdentify .getChildText ("earliestDatestamp" , null ));
49
49
Assertions .assertEquals ("transient" , eleIdentify .getChildText ("deletedRecord" , null ));
50
50
Assertions .assertEquals ("YYYY-MM-DDThh:mm:ssZ" , eleIdentify .getChildText ("granularity" , null ));
51
+ Element eleDescription = eleIdentify .getChild ("description" , null );
52
+ Assertions .assertNotNull (eleDescription );
53
+ Assertions .assertEquals ("Lorem ipsum dolor sit amet" , eleDescription .getChildText ("description" , Format .DC_NS ));
51
54
}
52
55
53
56
/**
You can’t perform that action at this time.
0 commit comments