Skip to content

Commit

Permalink
Fix IT for Tiled Geoaggregate
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedHamouGisaia committed Feb 5, 2020
1 parent 97abe66 commit fee932a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ public void testGeohashTile() throws Exception {

}

@Test
public void testNoMatchingGeohashTile() throws Exception {
handleNotMatchingGeohashTile(geohashTileGet("geohash:geo_params.centroid:interval-3", "ar"));
}


//----------------------------------------------------------------
//---------------------- SPECIFIC BEHAVIORS ----------------------
Expand All @@ -75,8 +72,6 @@ public void testNoMatchingGeohashTile() throws Exception {

protected abstract void handleGeohashTileDisjointFromPwithin(ValidatableResponse then) throws Exception;

protected abstract void handleNotMatchingGeohashTile(ValidatableResponse then) throws Exception;

private ValidatableResponse geohashTileGet(Object paramValue, String geohash) {
return given().param("agg", paramValue)
.when().get(getGeohashUrlPath("geodata", geohash))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,12 +357,6 @@ protected void handleGeohashTileDisjointFromPwithin(ValidatableResponse then) th
.body("features", equalTo(null));
}

@Override
protected void handleNotMatchingGeohashTile(ValidatableResponse then) {
then.statusCode(200)
.body("features", equalTo(null));
}

//----------------------------------------------------------------
//----------------------- FORM PART ------------------------------
//----------------------------------------------------------------
Expand Down

0 comments on commit fee932a

Please sign in to comment.