This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit e109381127bd0d75fe771ac652afd207eb77922e
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Dec 9 13:47:10 2021 +0100

    CAMEL-17291 - Camel-AWS2-SES: Don't set the replyTo/to addresses as List
---
 .../apache/camel/component/aws2/ses/SesComponentConfigurationTest.java  | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/components/camel-aws/camel-aws2-ses/src/test/java/org/apache/camel/component/aws2/ses/SesComponentConfigurationTest.java
 
b/components/camel-aws/camel-aws2-ses/src/test/java/org/apache/camel/component/aws2/ses/SesComponentConfigurationTest.java
index 6229815..81402af 100644
--- 
a/components/camel-aws/camel-aws2-ses/src/test/java/org/apache/camel/component/aws2/ses/SesComponentConfigurationTest.java
+++ 
b/components/camel-aws/camel-aws2-ses/src/test/java/org/apache/camel/component/aws2/ses/SesComponentConfigurationTest.java
@@ -113,12 +113,10 @@ public class SesComponentConfigurationTest extends 
CamelTestSupport {
         assertEquals("xxx", endpoint.getConfiguration().getAccessKey());
         assertEquals("yyy", endpoint.getConfiguration().getSecretKey());
         assertNotNull(endpoint.getConfiguration().getAmazonSESClient());
-        assertEquals(2, endpoint.getConfiguration().getTo().size());
         
assertTrue(endpoint.getConfiguration().getTo().contains("[email protected]"));
         
assertTrue(endpoint.getConfiguration().getTo().contains("[email protected]"));
         assertEquals("Subject", endpoint.getConfiguration().getSubject());
         assertEquals("[email protected]", 
endpoint.getConfiguration().getReturnPath());
-        assertEquals(2, 
endpoint.getConfiguration().getReplyToAddresses().size());
         
assertTrue(endpoint.getConfiguration().getReplyToAddresses().contains("[email protected]"));
         
assertTrue(endpoint.getConfiguration().getReplyToAddresses().contains("[email protected]"));
     }

Reply via email to