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 2022/06/26 10:47:13 UTC
[camel] branch main updated: (chores) camel-jira: fixed invalid assertion
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 7c67f90ec6a (chores) camel-jira: fixed invalid assertion
7c67f90ec6a is described below
commit 7c67f90ec6aac799e4404d4be81639794a1c876b
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Sun Jun 26 11:58:22 2022 +0200
(chores) camel-jira: fixed invalid assertion
---
.../org/apache/camel/component/jira/producer/AddIssueProducerTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-jira/src/test/java/org/apache/camel/component/jira/producer/AddIssueProducerTest.java b/components/camel-jira/src/test/java/org/apache/camel/component/jira/producer/AddIssueProducerTest.java
index c806d9dec8a..32f0a66c6ed 100644
--- a/components/camel-jira/src/test/java/org/apache/camel/component/jira/producer/AddIssueProducerTest.java
+++ b/components/camel-jira/src/test/java/org/apache/camel/component/jira/producer/AddIssueProducerTest.java
@@ -173,7 +173,7 @@ public class AddIssueProducerTest extends CamelTestSupport {
template.sendBodyAndHeaders(description, headers);
Issue issue = issueRestClient.getIssue(backendIssue.getKey()).claim();
- assertEquals(issue, issue);
+ assertEquals(backendIssue, issue);
assertEquals(type, issue.getIssueType().getName());
assertEquals(priority, issue.getPriority().getName());
assertEquals(summary, issue.getSummary());