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

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


The following commit(s) were added to refs/heads/master by this push:
     new f46a9f1  CAMEL-13533: Ignoring XML related failing integration tests 
as salesforce unduly includes spaces in xml element name in answers
f46a9f1 is described below

commit f46a9f185482fa6016fae3ed716d29ccff5d7b87
Author: aldettinger <[email protected]>
AuthorDate: Thu May 16 11:03:04 2019 +0200

    CAMEL-13533: Ignoring XML related failing integration tests as salesforce 
unduly includes spaces in xml element name in answers
---
 .../camel/component/salesforce/CompositeApiBatchIntegrationTest.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/CompositeApiBatchIntegrationTest.java
 
b/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/CompositeApiBatchIntegrationTest.java
index 2e9e79d..a080d7a 100644
--- 
a/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/CompositeApiBatchIntegrationTest.java
+++ 
b/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/CompositeApiBatchIntegrationTest.java
@@ -23,7 +23,6 @@ import java.util.List;
 import java.util.Map;
 import java.util.Set;
 import java.util.stream.Collectors;
-import java.util.stream.Stream;
 
 import com.googlecode.junittoolbox.ParallelParameterized;
 import com.thoughtworks.xstream.annotations.XStreamImplicit;
@@ -381,7 +380,6 @@ public class CompositeApiBatchIntegrationTest extends 
AbstractSalesforceTestBase
 
     @Parameters(name = "format = {0}, version = {1}")
     public static Iterable<Object[]> formats() {
-        return VERSIONS.stream().flatMap(v -> Stream.of(new Object[] {"JSON", 
v}, new Object[] {"XML", v}))
-            .collect(Collectors.toList());
+        return VERSIONS.stream().map(v -> new Object[] {"JSON", 
v}).collect(Collectors.toList());
     }
 }

Reply via email to