You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by jp...@apache.org on 2019/04/19 18:03:08 UTC

[camel] branch master updated: Fix camel-http4 tests

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

jpoth 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 d33d549  Fix camel-http4 tests
d33d549 is described below

commit d33d54947b75852ae0de90aa70aa9706522d94c8
Author: jpoth <po...@gmail.com>
AuthorDate: Fri Apr 19 20:02:53 2019 +0200

    Fix camel-http4 tests
---
 .../component/http4/HttpsSslContextParametersGetTest.java      | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpsSslContextParametersGetTest.java b/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpsSslContextParametersGetTest.java
index 7e1658b..d565581 100644
--- a/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpsSslContextParametersGetTest.java
+++ b/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpsSslContextParametersGetTest.java
@@ -19,8 +19,6 @@ package org.apache.camel.component.http4;
 import org.apache.camel.Exchange;
 import org.apache.camel.Processor;
 import org.apache.camel.component.http4.handler.BasicValidationHandler;
-import org.apache.camel.impl.JndiRegistry;
-import org.apache.camel.support.jsse.SSLContextParameters;
 import org.apache.http.impl.bootstrap.HttpServer;
 import org.apache.http.impl.bootstrap.ServerBootstrap;
 import org.junit.After;
@@ -55,14 +53,6 @@ public class HttpsSslContextParametersGetTest extends HttpsGetTest {
             localServer.stop();
         }
     }
-    
-    @Override
-    protected JndiRegistry createRegistry() throws Exception {
-        JndiRegistry registry = super.createRegistry();
-        registry.bind("sslContextParameters", new SSLContextParameters());
-
-        return registry;
-    }
 
     @Test
     public void httpsGet() throws Exception {