diff --git a/src/test/java/org/heigit/ohsome/ohsomeapi/controller/GetControllerTest.java b/src/test/java/org/heigit/ohsome/ohsomeapi/controller/GetControllerTest.java index cc4e1a5f..f1c8ee61 100644 --- a/src/test/java/org/heigit/ohsome/ohsomeapi/controller/GetControllerTest.java +++ b/src/test/java/org/heigit/ohsome/ohsomeapi/controller/GetControllerTest.java @@ -1034,8 +1034,8 @@ public void getElementsLengthDensityGroupByBoundaryGroupByTagCsvTest() throws IO // remainder , value 1 , ... , value N) final double expectedValue = 3190.17; String responseBody = getResponseBody("/elements/length/density/groupBy/boundary" - + "/groupBy/tag?bboxes=b1:8.68086,49.39948,8.69401" - + ",49.40609|b2:8.68081,49.39943,8.69408,49.40605&types=way&time=2017-10-08&keys=highway&" + + "/groupBy/tag?bboxes=b1:8.68086,49.39948,8.69401,49.40609|" + + "b2:8.68081,49.39943,8.69408,49.40605&time=2017-10-08&filter=type:way and highway=*&" + "groupByKey=highway&format=csv&groupByValues=residential,primary"); List records = Helper.getCsvRecords(responseBody); assertEquals(1, Helper.getCsvRecords(responseBody).size()); @@ -1255,15 +1255,6 @@ public void ratioEmptyFilter2Test() { assertEquals(400, response.getBody().get("status").asInt()); } - @Test - public void getElementsCountWrongFilterTypesCombinationTest() { - TestRestTemplate restTemplate = new TestRestTemplate(); - ResponseEntity response = - restTemplate.getForEntity(server + port + "/elements/count?bboxes=8.67452,49.40961," - + "8.70392,49.41823&time=2015-01-01&filter=building=*&types=way", JsonNode.class); - assertEquals(400, response.getBody().get("status").asInt()); - } - @Test public void getFilterTest() { final double expectedValue = 585.48;