fixed test

This commit is contained in:
Alessia Bardi 2022-09-14 18:08:56 +02:00
parent c48f6e9c57
commit 9e7ec4198f
1 changed files with 1 additions and 1 deletions

View File

@ -929,7 +929,7 @@ class MappersTest {
void testNotWellFormed() throws IOException, DocumentException {
final String xml = IOUtils
.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));
}