You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/02/03 05:51:57 UTC

[camel-kafka-connector] branch camel-master updated: Camel-master tests: Fixed dataformat

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

acosentino pushed a commit to branch camel-master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git


The following commit(s) were added to refs/heads/camel-master by this push:
     new cfc6467  Camel-master tests: Fixed dataformat
cfc6467 is described below

commit cfc646784103b6d17c7f2937a5a5fb9f9e01c42f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 3 06:50:56 2021 +0100

    Camel-master tests: Fixed dataformat
---
 core/src/test/java/org/apache/camel/kafkaconnector/DataFormatTest.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/src/test/java/org/apache/camel/kafkaconnector/DataFormatTest.java b/core/src/test/java/org/apache/camel/kafkaconnector/DataFormatTest.java
index 4e309d4..6715843 100644
--- a/core/src/test/java/org/apache/camel/kafkaconnector/DataFormatTest.java
+++ b/core/src/test/java/org/apache/camel/kafkaconnector/DataFormatTest.java
@@ -29,7 +29,6 @@ import org.junit.jupiter.api.Test;
 import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 import static org.junit.jupiter.api.Assertions.assertThrows;
-import static org.junit.jupiter.api.Assertions.assertTrue;
 
 public class DataFormatTest {
 
@@ -141,7 +140,7 @@ public class DataFormatTest {
 
         cms.start();
         HL7DataFormat hl7dfLoaded = (HL7DataFormat)dcc.resolveDataFormat("hl7");
-        assertTrue(hl7dfLoaded.isValidate());
+        assertFalse(hl7dfLoaded.isValidate());
         cms.stop();
     }
 }