You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2020/11/27 14:04:38 UTC

[camel] branch master updated: Fix camel-geocoder GeoCoderNominatimAddressTest

This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new eeaaaf3  Fix camel-geocoder GeoCoderNominatimAddressTest
eeaaaf3 is described below

commit eeaaaf3e996b71b4e826720c335e8170aca158a1
Author: James Netherton <ja...@gmail.com>
AuthorDate: Fri Nov 27 14:03:44 2020 +0000

    Fix camel-geocoder GeoCoderNominatimAddressTest
---
 .../apache/camel/component/geocoder/GeoCoderNominatimAddressTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-geocoder/src/test/java/org/apache/camel/component/geocoder/GeoCoderNominatimAddressTest.java b/components/camel-geocoder/src/test/java/org/apache/camel/component/geocoder/GeoCoderNominatimAddressTest.java
index 91b2b69..a4d1f2e 100644
--- a/components/camel-geocoder/src/test/java/org/apache/camel/component/geocoder/GeoCoderNominatimAddressTest.java
+++ b/components/camel-geocoder/src/test/java/org/apache/camel/component/geocoder/GeoCoderNominatimAddressTest.java
@@ -28,7 +28,7 @@ public class GeoCoderNominatimAddressTest extends CamelTestSupport {
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedMessageCount(1);
         mock.expectedHeaderReceived(GeoCoderConstants.COUNTRY_SHORT, "ES");
-        mock.expectedHeaderReceived(GeoCoderConstants.CITY, "Sevilla");
+        mock.expectedHeaderReceived(GeoCoderConstants.REGION_NAME, "AndalucĂ­a");
 
         // the address header overrides the endpoint configuration
         template.sendBody("direct:start", "Test");