From commits-return-65185-archive-asf-public=cust-asf.ponee.io@camel.apache.org Mon Sep 17 10:02:02 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1A683180627 for ; Mon, 17 Sep 2018 10:02:01 +0200 (CEST) Received: (qmail 59022 invoked by uid 500); 17 Sep 2018 08:02:01 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 59008 invoked by uid 99); 17 Sep 2018 08:02:00 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2018 08:02:00 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 49A4282E20; Mon, 17 Sep 2018 08:02:00 +0000 (UTC) Date: Mon, 17 Sep 2018 08:02:00 +0000 To: "commits@camel.apache.org" Subject: [camel] branch master updated: Fixed some Camel-weather integration tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <153717132003.27841.989463691792759660@gitbox.apache.org> From: acosentino@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: camel X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 4a06a4188bbdbc8bef9e1b00cc6aadd1a01ae532 X-Git-Newrev: 67c45a7a683971dd444eb10e625897db61906bb3 X-Git-Rev: 67c45a7a683971dd444eb10e625897db61906bb3 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. acosentino 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 67c45a7 Fixed some Camel-weather integration tests 67c45a7 is described below commit 67c45a7a683971dd444eb10e625897db61906bb3 Author: Andrea Cosentino AuthorDate: Mon Sep 17 10:01:30 2018 +0200 Fixed some Camel-weather integration tests --- .../apache/camel/component/weather/CurrentWeatherConsumerHtmlTest.java | 2 +- .../camel/component/weather/CurrentWeatherMadridProducerTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerHtmlTest.java b/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerHtmlTest.java index 8e5317d..8e43eb9 100644 --- a/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerHtmlTest.java +++ b/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerHtmlTest.java @@ -35,7 +35,7 @@ public class CurrentWeatherConsumerHtmlTest extends BaseWeatherConsumerTest { return new RouteBuilder() { @Override public void configure() throws Exception { - from("weather:foo?mode=HTML&appid=9162755b2efa555823cfe0451d7fff38&geolocationAccessKey=test&geolocationRequestHostIP=test").to("mock:result"); + from("weather:foo?mode=HTML&appid=9162755b2efa555823cfe0451d7fff38&geolocationAccessKey=test&geolocationRequestHostIP=test&location=Rome").to("mock:result"); } }; } diff --git a/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherMadridProducerTest.java b/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherMadridProducerTest.java index 787dff9..444a04f 100644 --- a/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherMadridProducerTest.java +++ b/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherMadridProducerTest.java @@ -68,7 +68,7 @@ public class CurrentWeatherMadridProducerTest extends BaseWeatherConsumerTest { // as the default delay option is one hour long, we expect exactly one message exchange mock.expectedMessageCount(1); - template.sendBodyAndHeader("direct:start", "Hello World", WeatherConstants.WEATHER_LOCATION, "current"); + template.sendBodyAndHeader("direct:start", "Hello World", WeatherConstants.WEATHER_LOCATION, "Rome,Italy"); mock.assertIsSatisfied();