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

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

commit b115aeb9eba459abb63a0c3fdcb972b896e5013e
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Wed Apr 8 17:05:47 2020 +0100

    Use TrustStoreResource in Olingo4 test
    
    Fixes #1061
---
 integration-tests/olingo4/pom.xml                                    | 5 +++++
 .../org/apache/camel/quarkus/component/olingo4/it/Olingo4Test.java   | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/integration-tests/olingo4/pom.xml 
b/integration-tests/olingo4/pom.xml
index ec59fcb..140d4b6 100644
--- a/integration-tests/olingo4/pom.xml
+++ b/integration-tests/olingo4/pom.xml
@@ -76,6 +76,11 @@
             <artifactId>rest-assured</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.camel.quarkus</groupId>
+            <artifactId>camel-quarkus-integration-test-support</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
     <build>
diff --git 
a/integration-tests/olingo4/src/test/java/org/apache/camel/quarkus/component/olingo4/it/Olingo4Test.java
 
b/integration-tests/olingo4/src/test/java/org/apache/camel/quarkus/component/olingo4/it/Olingo4Test.java
index 845db3c..dcd89b6 100644
--- 
a/integration-tests/olingo4/src/test/java/org/apache/camel/quarkus/component/olingo4/it/Olingo4Test.java
+++ 
b/integration-tests/olingo4/src/test/java/org/apache/camel/quarkus/component/olingo4/it/Olingo4Test.java
@@ -18,9 +18,11 @@ package org.apache.camel.quarkus.component.olingo4.it;
 
 import java.io.IOException;
 
+import io.quarkus.test.common.QuarkusTestResource;
 import io.quarkus.test.junit.QuarkusTest;
 import io.restassured.RestAssured;
 import io.restassured.http.ContentType;
+import org.apache.camel.quarkus.test.TrustStoreResource;
 import org.apache.http.client.methods.HttpGet;
 import org.apache.http.client.methods.HttpUriRequest;
 import org.apache.http.impl.client.CloseableHttpClient;
@@ -35,6 +37,7 @@ import static 
org.apache.camel.quarkus.component.olingo4.it.Olingo4Resource.TEST
 import static org.hamcrest.core.Is.is;
 
 @QuarkusTest
+@QuarkusTestResource(TrustStoreResource.class)
 class Olingo4Test {
 
     private static String sessionId;

Reply via email to