diff --git a/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/deployment/CamelContextJsonSchemaTest.java b/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/deployment/CamelContextJsonSchemaTest.java index d9a8938c54a5..09a26db6b218 100644 --- a/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/deployment/CamelContextJsonSchemaTest.java +++ b/extensions-core/core/deployment/src/test/java/org/apache/camel/quarkus/core/deployment/CamelContextJsonSchemaTest.java @@ -36,7 +36,7 @@ public class CamelContextJsonSchemaTest { @Test void resolveComponentJsonSchema() throws IOException { String json = ((FastCamelContext) context).getComponentParameterJsonSchema("timer"); - Assertions.assertNotNull(json); + Assertions.assertNull(json); } @Test diff --git a/extensions/jasypt/deployment/src/test/java/org/apache/camel/quarkus/component/jasypt/JasyptDisabledTest.java b/extensions/jasypt/deployment/src/test/java/org/apache/camel/quarkus/component/jasypt/JasyptDisabledTest.java index e73b75651f23..78639ed100a2 100644 --- a/extensions/jasypt/deployment/src/test/java/org/apache/camel/quarkus/component/jasypt/JasyptDisabledTest.java +++ b/extensions/jasypt/deployment/src/test/java/org/apache/camel/quarkus/component/jasypt/JasyptDisabledTest.java @@ -42,7 +42,7 @@ public class JasyptDisabledTest { @Test void propertyNotDecryptedIfJasyptDisabled() { String result = producerTemplate.requestBody("direct:start", null, String.class); - assertEquals("Secure config value: " + SECURE_CONFIG_VALUE, result); + assertEquals("Secure config values: " + SECURE_CONFIG_VALUE, result); } public static final class JasyptRoutes extends RouteBuilder { diff --git a/integration-tests-jvm/etcd3/src/test/java/org/apache/camel/quarkus/component/etcd3/it/Etcd3Test.java b/integration-tests-jvm/etcd3/src/test/java/org/apache/camel/quarkus/component/etcd3/it/Etcd3Test.java index cebd2343a159..86aacfe5b9e6 100644 --- a/integration-tests-jvm/etcd3/src/test/java/org/apache/camel/quarkus/component/etcd3/it/Etcd3Test.java +++ b/integration-tests-jvm/etcd3/src/test/java/org/apache/camel/quarkus/component/etcd3/it/Etcd3Test.java @@ -28,7 +28,7 @@ public void loadOtherEtcd3() { /* A simple autogenerated test */ RestAssured.get("/etcd3/load/other/etcd3") .then() - .statusCode(200); + .statusCode(204); } } diff --git a/integration-tests/avro/src/test/java/org/apache/camel/quarkus/component/avro/it/AvroIT.java b/integration-tests/avro/src/test/java/org/apache/camel/quarkus/component/avro/it/AvroIT.java index ae5a820c3dcd..673bd0523097 100644 --- a/integration-tests/avro/src/test/java/org/apache/camel/quarkus/component/avro/it/AvroIT.java +++ b/integration-tests/avro/src/test/java/org/apache/camel/quarkus/component/avro/it/AvroIT.java @@ -17,8 +17,14 @@ package org.apache.camel.quarkus.component.avro.it; import io.quarkus.test.junit.QuarkusIntegrationTest; +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.fail; @QuarkusIntegrationTest class AvroIT extends AvroTest { - + @Test + void testAvro() { + fail("Oh no!"); + } } diff --git a/integration-tests/avro/src/test/java/org/apache/camel/quarkus/component/avro/it/AvroTest.java b/integration-tests/avro/src/test/java/org/apache/camel/quarkus/component/avro/it/AvroTest.java index 0c49f13364a3..280ebb8e0b8d 100644 --- a/integration-tests/avro/src/test/java/org/apache/camel/quarkus/component/avro/it/AvroTest.java +++ b/integration-tests/avro/src/test/java/org/apache/camel/quarkus/component/avro/it/AvroTest.java @@ -45,7 +45,7 @@ void valueMarshalUnmarshalUsingInstanceClassNameAvroDslShouldSucceed() { @Test void valueMarshalUnmarshalUsingSchemaAvroDslShouldSucceed() { - RestAssured.get("/avro/valueMarshalUnmarshalUsingSchemaAvroDsl/hector").then().statusCode(200).body(is("hector")); + RestAssured.get("/avro/valueMarshalUnmarshalUsingSchemaAvroDsl/hector").then().statusCode(200).body(is("hectors")); } } diff --git a/integration-tests/csv/src/main/java/org/apache/camel/quarkus/component/csv/it/CsvResource.java b/integration-tests/csv/src/main/java/org/apache/camel/quarkus/component/csv/it/CsvResource.java index 98eaed916455..6c6226bccab9 100644 --- a/integration-tests/csv/src/main/java/org/apache/camel/quarkus/component/csv/it/CsvResource.java +++ b/integration-tests/csv/src/main/java/org/apache/camel/quarkus/component/csv/it/CsvResource.java @@ -17,10 +17,7 @@ package org.apache.camel.quarkus.component.csv.it; import java.util.List; -import java.util.Map; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.ObjectMapper; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; import jakarta.ws.rs.Consumes; @@ -45,14 +42,7 @@ public class CsvResource { @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.TEXT_PLAIN) public String json2csv(String json) throws Exception { - LOG.infof("Transforming json %s", json); - final List> objects = new ObjectMapper().readValue(json, - new TypeReference>>() { - }); - return producerTemplate.requestBody( - "direct:json-to-csv", - objects, - String.class); + return null; } @SuppressWarnings("unchecked")