mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 17:05:43 +01:00
added option for plugins to change ssl context
This commit is contained in:
@@ -65,6 +65,7 @@ import java.net.HttpURLConnection;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import sonia.scm.net.SSLContextProvider;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -143,7 +144,7 @@ public class DefaultAdvancedHttpResponseTest
|
||||
/** Field description */
|
||||
private final DefaultAdvancedHttpClient client =
|
||||
new DefaultAdvancedHttpClient(new ScmConfiguration(),
|
||||
new HashSet<ContentTransformer>());
|
||||
new HashSet<ContentTransformer>(), new SSLContextProvider());
|
||||
|
||||
/** Field description */
|
||||
@Mock
|
||||
|
||||
Reference in New Issue
Block a user