@@ -1034,8 +1034,8 @@ public void getElementsLengthDensityGroupByBoundaryGroupByTagCsvTest() throws IO
1034
1034
// remainder , value 1 , ... , value N)
1035
1035
final double expectedValue = 3190.17 ;
1036
1036
String responseBody = getResponseBody ("/elements/length/density/groupBy/boundary"
1037
- + "/groupBy/tag?bboxes=b1:8.68086,49.39948,8.69401"
1038
- + ",49.40609| b2:8.68081,49.39943,8.69408,49.40605&types=way& time=2017-10-08&keys= highway&"
1037
+ + "/groupBy/tag?bboxes=b1:8.68086,49.39948,8.69401,49.40609| "
1038
+ + "b2:8.68081,49.39943,8.69408,49.40605&time=2017-10-08&filter=type:way and highway=* &"
1039
1039
+ "groupByKey=highway&format=csv&groupByValues=residential,primary" );
1040
1040
List <CSVRecord > records = Helper .getCsvRecords (responseBody );
1041
1041
assertEquals (1 , Helper .getCsvRecords (responseBody ).size ());
@@ -1255,15 +1255,6 @@ public void ratioEmptyFilter2Test() {
1255
1255
assertEquals (400 , response .getBody ().get ("status" ).asInt ());
1256
1256
}
1257
1257
1258
- @ Test
1259
- public void getElementsCountWrongFilterTypesCombinationTest () {
1260
- TestRestTemplate restTemplate = new TestRestTemplate ();
1261
- ResponseEntity <JsonNode > response =
1262
- restTemplate .getForEntity (server + port + "/elements/count?bboxes=8.67452,49.40961,"
1263
- + "8.70392,49.41823&time=2015-01-01&filter=building=*&types=way" , JsonNode .class );
1264
- assertEquals (400 , response .getBody ().get ("status" ).asInt ());
1265
- }
1266
-
1267
1258
@ Test
1268
1259
public void getFilterTest () {
1269
1260
final double expectedValue = 585.48 ;
0 commit comments