You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/12/05 10:59:11 UTC

[camel] branch master updated: CAMEL-15804: Fixed test

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

davsclaus 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 05878f3  CAMEL-15804: Fixed test
05878f3 is described below

commit 05878f3aba5e36d8ab3cdc7eed8328120c3a2d9c
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Dec 5 11:58:47 2020 +0100

    CAMEL-15804: Fixed test
---
 .../java/org/apache/camel/language/datasonnet/CamelDatasonnetTest.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/components/camel-datasonnet/src/test/java/org/apache/camel/language/datasonnet/CamelDatasonnetTest.java b/components/camel-datasonnet/src/test/java/org/apache/camel/language/datasonnet/CamelDatasonnetTest.java
index d6de0b0..6006648 100644
--- a/components/camel-datasonnet/src/test/java/org/apache/camel/language/datasonnet/CamelDatasonnetTest.java
+++ b/components/camel-datasonnet/src/test/java/org/apache/camel/language/datasonnet/CamelDatasonnetTest.java
@@ -109,6 +109,7 @@ public class CamelDatasonnetTest extends CamelSpringTestSupport {
         theGizmo.setManufacturer(manufacturer);
 
         SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");
+        df.setTimeZone(TimeZone.getTimeZone("UTC"));
         theGizmo.setDate(df.parse("2020-01-06"));
 
         runCamelTest(theGizmo,