diff --git a/OsmAnd-java/src/test/java/net/osmand/router/RouteTestingTest.java b/OsmAnd-java/src/test/java/net/osmand/router/RouteTestingTest.java index 0a0601b41a..65b4eb74a5 100644 --- a/OsmAnd-java/src/test/java/net/osmand/router/RouteTestingTest.java +++ b/OsmAnd-java/src/test/java/net/osmand/router/RouteTestingTest.java @@ -76,8 +76,8 @@ public class RouteTestingTest { } for (int planRoadDirection = -1; planRoadDirection <= 1; planRoadDirection++) { - if (params.containsKey("onlyPlanRoadDirection")) { - if (!params.get("onlyPlanRoadDirection").equals(planRoadDirection + "")) { + if (params.containsKey("wrongPlanRoadDirection")) { + if (params.get("wrongPlanRoadDirection").equals(planRoadDirection + "")) { continue; } }