it's always a joy to do new tests for ADS records
This commit is contained in:
parent
0283152a63
commit
bca6b1a659
|
@ -38,12 +38,15 @@ public class GraphDbReaderAndESIndexTest {
|
||||||
String record1 ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/D182802E-592C-3999-9DB2-155F25E356E2";
|
String record1 ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/D182802E-592C-3999-9DB2-155F25E356E2";
|
||||||
String record2 ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/15814239-CCF1-317C-AEBA-49EEBB582611";
|
String record2 ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/15814239-CCF1-317C-AEBA-49EEBB582611";
|
||||||
String record3 ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/3210FDBD-97DC-3B12-9EFF-3FDAB7AC11CE";
|
String record3 ="https://ariadne-infrastructure.eu/aocat/Resource/ADS/3210FDBD-97DC-3B12-9EFF-3FDAB7AC11CE";
|
||||||
|
//different access right and policy
|
||||||
|
String record4 = "https://ariadne-infrastructure.eu/aocat/Resource/ADS/B0FC7870-2E80-325C-9BE2-1F05C0E70610";
|
||||||
String datasource = "ads";
|
String datasource = "ads";
|
||||||
String apiId = "1093";
|
String apiId = "1093";
|
||||||
readAndIndexTest(false, coll, datasource, apiId);
|
readAndIndexTest(false, coll, datasource, apiId);
|
||||||
readAndIndexTest(true, record1, datasource, apiId);
|
readAndIndexTest(true, record1, datasource, apiId);
|
||||||
readAndIndexTest(true, record2, datasource, apiId);
|
readAndIndexTest(true, record2, datasource, apiId);
|
||||||
readAndIndexTest(true, record3, datasource, apiId);
|
readAndIndexTest(true, record3, datasource, apiId);
|
||||||
|
readAndIndexTest(true, record4, datasource, apiId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue