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
commit 617f12bff1b1abf2ae7432260226305adc4b157c Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Sep 12 11:00:04 2019 +0200 Camel-AWS Translate: Improved tests --- .../org/apache/camel/component/aws/translate/TranslateProducerTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/TranslateProducerTest.java b/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/TranslateProducerTest.java index 115cb15..4f3f507 100644 --- a/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/TranslateProducerTest.java +++ b/components/camel-aws-translate/src/test/java/org/apache/camel/component/aws/translate/TranslateProducerTest.java @@ -40,7 +40,6 @@ public class TranslateProducerTest extends CamelTestSupport { Exchange exchange = template.request("direct:translateText", new Processor() { @Override public void process(Exchange exchange) throws Exception { - exchange.getIn().setHeader(TranslateConstants.OPERATION, TranslateOperations.translateText); exchange.getIn().setHeader(TranslateConstants.SOURCE_LANGUAGE, TranslateLanguageEnum.ITALIAN); exchange.getIn().setHeader(TranslateConstants.TARGET_LANGUAGE, TranslateLanguageEnum.ENGLISH); exchange.getIn().setBody("ciao");