1
0
Fork 0

removed added | in prefix for datasource

This commit is contained in:
Miriam Baglioni 2020-08-11 15:55:06 +02:00
parent f31c2e9461
commit 37ad2f28e9
1 changed files with 2 additions and 2 deletions

View File

@ -539,7 +539,7 @@ public class QueryInformationSystemTest {
List<ContextInfo> cInfoList = new ArrayList<>(); List<ContextInfo> cInfoList = new ArrayList<>();
final Consumer<ContextInfo> consumer = ci -> cInfoList.add(ci); final Consumer<ContextInfo> consumer = ci -> cInfoList.add(ci);
queryInformationSystem.execContextRelationQuery(); queryInformationSystem.execContextRelationQuery();
queryInformationSystem.getContextRelation(consumer, "contentproviders", "10|"); queryInformationSystem.getContextRelation(consumer, "contentproviders", "10");
cInfoList.forEach(contextInfo -> { cInfoList.forEach(contextInfo -> {
switch (contextInfo.getId()) { switch (contextInfo.getId()) {
@ -559,7 +559,7 @@ public class QueryInformationSystemTest {
.assertTrue( .assertTrue(
contextInfo contextInfo
.getDatasourceList() .getDatasourceList()
.contains(("10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"))); .contains("10|rest________::fb1a3d4523c95e63496e3bc7ba36244b"));
break; break;
case "dh-ch": case "dh-ch":
Assertions.assertEquals(10, contextInfo.getDatasourceList().size()); Assertions.assertEquals(10, contextInfo.getDatasourceList().size());