Skip to content

Commit 4f5ca14

Browse files
committed
Fix tests
1 parent 4482b8a commit 4f5ca14

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

reader-osm/src/test/java/com/graphhopper/reader/osm/OSMReaderTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,12 +628,12 @@ public void testEstimatedCenter() {
628628
OSMReader osmreader = new OSMReader(ghStorage) {
629629
// mock data access
630630
@Override
631-
double getTmpLatitude(int id) {
631+
protected double getTmpLatitude(int id) {
632632
return latMap.get(id);
633633
}
634634

635635
@Override
636-
double getTmpLongitude(int id) {
636+
protected double getTmpLongitude(int id) {
637637
return lonMap.get(id);
638638
}
639639

web/src/test/java/com/graphhopper/http/resources/IsochroneResourceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public void requestByWeightLimit() {
145145
.queryParam("point", "42.531073,1.573792")
146146
.queryParam("type", "geojson");
147147

148-
long limit = 3000;
148+
long limit = 15000;
149149

150150
Response distanceLimitRsp = commonTarget
151151
.queryParam("distance_limit", limit)

0 commit comments

Comments
 (0)