commit | 4ff104bbd0f6e3cbdff015549f1e094ef22edcfa | [log] [tgz] |
---|---|---|
author | aldettinger <aldettinger@gmail.com> | Tue Apr 20 17:03:31 2021 +0200 |
committer | Alexandre Gallice <aldettinger@gmail.com> | Tue Apr 20 21:29:02 2021 +0200 |
tree | c61560bc038c776c29e6a5b1cf9c4517657bdb7b | |
parent | f25bb0fe854bd1aa7a7e6bb7d9be6ff00963694c [diff] |
bindy: fixed the locale test so that it detects issues on Java 8 too #2445
diff --git a/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyResource.java b/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyResource.java index f0d652c..fbc7c01 100644 --- a/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyResource.java +++ b/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyResource.java
@@ -121,7 +121,7 @@ String marshalled = template.requestBody("direct:marshal-fixed-length-with-locale", object, String.class); - assertEquals("٣٫٢٠٠\r\n", marshalled); + assertEquals("3,200\r\n", marshalled); } @Path("/marshalMessageShouldSucceed")
diff --git a/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyTestRoute.java b/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyTestRoute.java index c2da507..428e419 100644 --- a/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyTestRoute.java +++ b/integration-tests/bindy/src/main/java/org/apache/camel/quarkus/component/bindy/it/BindyTestRoute.java
@@ -44,7 +44,7 @@ BindyDataFormat bindyFixedLengthWithLocaleDataFormat = new BindyDataFormat(); bindyFixedLengthWithLocaleDataFormat.setClassType(FixedLengthWithLocale.class); bindyFixedLengthWithLocaleDataFormat.setType(BindyType.Fixed.name()); - bindyFixedLengthWithLocaleDataFormat.setLocale("ar"); + bindyFixedLengthWithLocaleDataFormat.setLocale("fr"); from("direct:marshal-fixed-length-with-locale").marshal(bindyFixedLengthWithLocaleDataFormat); BindyKeyValuePairDataFormat bindyMessageDataFormat = new BindyKeyValuePairDataFormat(MessageOrder.class);