Revision c3d2f6db
Added by Katja Luther almost 4 years ago
cdmlib-ext/src/test/java/eu/etaxonomy/cdm/ext/occurrence/bioCase/BioCaseQueryServiceWrapperTest.java | ||
---|---|---|
96 | 96 |
BioCaseQueryServiceWrapper service = new BioCaseQueryServiceWrapper(); |
97 | 97 |
try { |
98 | 98 |
Set<String[]> unitIds = new HashSet<String[]>(); |
99 |
String[] unitIdArray ={"29596"};
|
|
99 |
String[] unitIdArray ={"B 10 0463639"};
|
|
100 | 100 |
unitIds.add(unitIdArray); |
101 |
InputStream queryForSingleUnit = service.query(new OccurenceQuery(unitIds), URI.create("http://www.flora-mv.de/biocase/pywrapper.cgi?dsa=hoeherePflanzen"));
|
|
101 |
InputStream queryForSingleUnit = service.query(new OccurenceQuery(unitIds), URI.create("https://ww3.bgbm.org/biocase/pywrapper.cgi?dsa=Herbar"));
|
|
102 | 102 |
|
103 | 103 |
if(queryForSingleUnit==null){ |
104 | 104 |
logger.error("SKIPPING TEST: No response from BioCase provider"); |
Also available in: Unified diff
change biocase provider to herbar to fix test