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

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


The following commit(s) were added to refs/heads/main by this push:
     new da19a75bbe Filter out non-service endpoints in Salesforce 
testGetRestResources
da19a75bbe is described below

commit da19a75bbe7460204a8a2d25535b22ddb61f5c67
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Thu Aug 25 08:23:32 2022 +0100

    Filter out non-service endpoints in Salesforce testGetRestResources
---
 .../org/apache/camel/quarkus/component/salesforce/SalesforceTest.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/integration-tests/salesforce/src/test/java/org/apache/camel/quarkus/component/salesforce/SalesforceTest.java
 
b/integration-tests/salesforce/src/test/java/org/apache/camel/quarkus/component/salesforce/SalesforceTest.java
index 97b280d3fc..d103cf0461 100644
--- 
a/integration-tests/salesforce/src/test/java/org/apache/camel/quarkus/component/salesforce/SalesforceTest.java
+++ 
b/integration-tests/salesforce/src/test/java/org/apache/camel/quarkus/component/salesforce/SalesforceTest.java
@@ -179,6 +179,7 @@ class SalesforceTest {
                 .values()
                 .stream()
                 .map(Object::toString)
+                .filter(path -> path.startsWith("/services"))
                 .forEach(value -> 
assertTrue(value.matches("/services/data/.*/.*")));
     }
 

Reply via email to