From 37ad2f28e91e8d3e462ed671c6edf2a1029220bc Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Tue, 11 Aug 2020 15:55:06 +0200 Subject: [PATCH] removed added | in prefix for datasource --- .../dhp/oa/graph/dump/graph/QueryInformationSystemTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/dump/graph/QueryInformationSystemTest.java b/dhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/dump/graph/QueryInformationSystemTest.java index d31602d7bc..074bed1985 100644 --- a/dhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/dump/graph/QueryInformationSystemTest.java +++ b/dhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/dump/graph/QueryInformationSystemTest.java @@ -539,7 +539,7 @@ public class QueryInformationSystemTest { List cInfoList = new ArrayList<>(); final Consumer consumer = ci -> cInfoList.add(ci); queryInformationSystem.execContextRelationQuery(); - queryInformationSystem.getContextRelation(consumer, "contentproviders", "10|"); + queryInformationSystem.getContextRelation(consumer, "contentproviders", "10"); cInfoList.forEach(contextInfo -> { switch (contextInfo.getId()) { @@ -559,7 +559,7 @@ public class QueryInformationSystemTest { .assertTrue( contextInfo .getDatasourceList() - .contains(("10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"))); + .contains("10|rest________::fb1a3d4523c95e63496e3bc7ba36244b")); break; case "dh-ch": Assertions.assertEquals(10, contextInfo.getDatasourceList().size());