forked from D-Net/dnet-hadoop
fixed test
This commit is contained in:
parent
c48f6e9c57
commit
9e7ec4198f
|
@ -929,7 +929,7 @@ class MappersTest {
|
||||||
void testNotWellFormed() throws IOException, DocumentException {
|
void testNotWellFormed() throws IOException, DocumentException {
|
||||||
final String xml = IOUtils
|
final String xml = IOUtils
|
||||||
.toString(Objects.requireNonNull(getClass().getResourceAsStream("oaf_notwellformed.xml")));
|
.toString(Objects.requireNonNull(getClass().getResourceAsStream("oaf_notwellformed.xml")));
|
||||||
assertEquals(0, new OafToOafMapper(vocs, false, true).processMdRecord(xml).size());
|
assertEquals(null, new OafToOafMapper(vocs, false, true).processMdRecord(xml));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue