apupier commented on code in PR #8220:
URL: https://github.com/apache/camel-quarkus/pull/8220#discussion_r2737265955


##########
integration-tests/docling/src/test/java/org/apache/camel/quarkus/component/docling/it/DoclingTest.java:
##########
@@ -220,4 +221,19 @@ public void convertToJsonAsync() {
                 .statusCode(200)
                 .body(not(emptyString()));
     }
+
+    @Test
+    @EnabledIfSystemProperty(named = "docling.test.enabled", matches = "true")
+    void convertToJsonWithCLI() {
+        String testContent = "# Test Document\nThis is a test document for 
JSON conversion with CLI.";
+
+        RestAssured.given()
+                .contentType(ContentType.TEXT)
+                .body(testContent)
+                .when()
+                .post("/docling/convert/json/cli")
+                .then()
+                .statusCode(200)
+                .body(not(emptyString()));

Review Comment:
   it will be benefical to check fo rmore than just not an empty string. i will 
implement that when improving for all the other tests too



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to