You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/01/13 13:51:27 UTC
[camel] branch main updated: (chores) camel-core: fixes rest verification tests
This is an automated email from the ASF dual-hosted git repository.
orpiske 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 c4adeaf4594 (chores) camel-core: fixes rest verification tests
c4adeaf4594 is described below
commit c4adeaf459462f8459022ade8ab48ff7d54a3a36
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jan 13 13:45:51 2023 +0100
(chores) camel-core: fixes rest verification tests
---
.../camel/component/rest/RestComponentVerifierExtensionTest.java | 4 ++--
.../org/apache/camel/component/rest/RestComponentVerifierTest.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/core/camel-core/src/test/java/org/apache/camel/component/rest/RestComponentVerifierExtensionTest.java b/core/camel-core/src/test/java/org/apache/camel/component/rest/RestComponentVerifierExtensionTest.java
index b295e4610c2..5f50e52ed67 100644
--- a/core/camel-core/src/test/java/org/apache/camel/component/rest/RestComponentVerifierExtensionTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/component/rest/RestComponentVerifierExtensionTest.java
@@ -54,7 +54,7 @@ public class RestComponentVerifierExtensionTest extends ContextTestSupport {
= component.getExtension(RestComponentVerifierExtension.class).orElseThrow(() -> new IllegalStateException());
Map<String, Object> parameters = new HashMap<>();
- parameters.put("componentName", "rest-component");
+ parameters.put("producerComponentName", "rest-component");
parameters.put("host", "http://localhost:1234");
parameters.put("path", "verify");
parameters.put("method", "get");
@@ -76,7 +76,7 @@ public class RestComponentVerifierExtensionTest extends ContextTestSupport {
= component.getExtension(RestComponentVerifierExtension.class).orElseThrow(() -> new IllegalStateException());
Map<String, Object> parameters = new HashMap<>();
- parameters.put("componentName", "rest-component");
+ parameters.put("producerComponentName", "rest-component");
parameters.put("host", "http://localhost:" + 1234);
parameters.put("path", "verify");
diff --git a/core/camel-core/src/test/java/org/apache/camel/component/rest/RestComponentVerifierTest.java b/core/camel-core/src/test/java/org/apache/camel/component/rest/RestComponentVerifierTest.java
index cf09b3ac833..7428989fd78 100644
--- a/core/camel-core/src/test/java/org/apache/camel/component/rest/RestComponentVerifierTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/component/rest/RestComponentVerifierTest.java
@@ -53,7 +53,7 @@ public class RestComponentVerifierTest extends ContextTestSupport {
ComponentVerifierExtension verifier = component.getVerifier();
Map<String, Object> parameters = new HashMap<>();
- parameters.put("componentName", "rest-component");
+ parameters.put("producerComponentName", "rest-component");
parameters.put("host", "http://localhost:1234");
parameters.put("path", "verify");
parameters.put("method", "get");
@@ -73,7 +73,7 @@ public class RestComponentVerifierTest extends ContextTestSupport {
ComponentVerifierExtension verifier = component.getVerifier();
Map<String, Object> parameters = new HashMap<>();
- parameters.put("componentName", "rest-component");
+ parameters.put("producerComponentName", "rest-component");
parameters.put("host", "http://localhost:" + 1234);
parameters.put("path", "verify");