forked from D-Net/dnet-hadoop
removed added | in prefix for datasource
This commit is contained in:
parent
f31c2e9461
commit
37ad2f28e9
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue