This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 8860377c218 Fix test OpenApiITCase
8860377c218 is described below
commit 8860377c21854a84dbd4fb082551474675fcae98
Author: Aurélien Pupier <[email protected]>
AuthorDate: Fri Jun 20 11:15:14 2025 +0200
Fix test OpenApiITCase
the file used in the test has been updated with this commit
https://github.com/apache/camel-kamelets-examples/commit/80db3bcc1d7d011fb8c49de2f3961780fcc10937
Signed-off-by: Aurélien Pupier <[email protected]>
---
.../src/test/java/org/apache/camel/dsl/jbang/it/OpenApiITCase.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/dsl/camel-jbang/camel-jbang-it/src/test/java/org/apache/camel/dsl/jbang/it/OpenApiITCase.java
b/dsl/camel-jbang/camel-jbang-it/src/test/java/org/apache/camel/dsl/jbang/it/OpenApiITCase.java
index 099567acb75..b0d01918fd6 100644
---
a/dsl/camel-jbang/camel-jbang-it/src/test/java/org/apache/camel/dsl/jbang/it/OpenApiITCase.java
+++
b/dsl/camel-jbang/camel-jbang-it/src/test/java/org/apache/camel/dsl/jbang/it/OpenApiITCase.java
@@ -76,12 +76,12 @@ public class OpenApiITCase extends JBangTestSupport {
//verify mock
HttpResponse<String> response = executeHttpRequest("/myapi/pet/123",
true);
Assertions.assertThat(response.statusCode()).isEqualTo(200);
- Assertions.assertThat(response.body()).contains("donald the dock");
+ Assertions.assertThat(response.body()).contains("Donald the duck");
//verify sample response
response = executeHttpRequest("/myapi/pet/" + new
Random().nextInt(124, 500), true);
Assertions.assertThat(response.statusCode()).isEqualTo(200);
- Assertions.assertThat(response.body()).contains("jack the cat");
+ Assertions.assertThat(response.body()).contains("Jack the cat");
//verify api-doc
response = executeHttpRequest("/myapi/api-doc", true);