Skip to content

Commit 1b711d1

Browse files
committed
test: use dummy ISO country codes rather than existing ones
1 parent f237a65 commit 1b711d1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"country_id","name","name:en","iso_code_cca2","iso_code_cca3"
2-
"1","Area 1","Area 1 English","AT","AUT"
3-
"2","Area 2","Area 2 English","CH","CHE"
4-
"3","Area 3","Area 3 English","FR","FRA"
5-
"4","Area 4","Area 4 English","DE","DEU"
2+
"1","Area 1","Area 1 English","XA","XXA"
3+
"2","Area 2","Area 2 English","XB","XXB"
4+
"3","Area 3","Area 3 English","XC","XXC"
5+
"4","Area 4","Area 4 English","XD","XXD"

ors-api/src/test/java/org/heigit/ors/apitests/routing/ResultTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1866,7 +1866,7 @@ void testCountryExclusion() {
18661866
.statusCode(200);
18671867

18681868
// Test avoid_countries with ISO 3166-1 Alpha-2 parameters
1869-
options.put("avoid_countries", constructFromPipedList("AT|FR"));
1869+
options.put("avoid_countries", constructFromPipedList("XA|XC"));
18701870
given()
18711871
.config(JSON_CONFIG_DOUBLE_NUMBERS)
18721872
.headers(CommonHeaders.jsonContent)
@@ -1881,7 +1881,7 @@ void testCountryExclusion() {
18811881
.statusCode(200);
18821882

18831883
// Test avoid_countries with ISO 3166-1 Alpha-3 parameters
1884-
options.put("avoid_countries", constructFromPipedList("AUT|FRA"));
1884+
options.put("avoid_countries", constructFromPipedList("XXA|XXC"));
18851885
given()
18861886
.config(JSON_CONFIG_DOUBLE_NUMBERS)
18871887
.headers(CommonHeaders.jsonContent)

0 commit comments

Comments
 (0)