From 2ede3979330eb025af7f85e5eeb871234aa48d09 Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Thu, 13 Aug 2020 12:16:39 +0200 Subject: [PATCH] Apply change because of https://code-repo.d4science.org/D-Net/dnet-hadoop/pulls/40#issuecomment-1846 --- .../dnetlib/dhp/oa/graph/dump/graph/FunderParsingTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/dump/graph/FunderParsingTest.java b/dhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/dump/graph/FunderParsingTest.java index f7975e497..0374a1568 100644 --- a/dhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/dump/graph/FunderParsingTest.java +++ b/dhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/dump/graph/FunderParsingTest.java @@ -1,6 +1,7 @@ package eu.dnetlib.dhp.oa.graph.dump.graph; +import org.dom4j.DocumentException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; @@ -9,7 +10,7 @@ import eu.dnetlib.dhp.schema.dump.oaf.graph.Funder; public class FunderParsingTest { @Test - public void testFunderTwoLevels() { + public void testFunderTwoLevels() throws DocumentException { String funding_Stream = "nsf_________::NSFNSFNational Science " + @@ -36,7 +37,7 @@ public class FunderParsingTest { } @Test - public void testFunderThreeeLevels() { + public void testFunderThreeeLevels() throws DocumentException { String funding_stream = "ec__________::EC" + "EC" + "European Commission" +