|
|
|
@ -98,7 +98,7 @@ public class FeignRibbonClientTests {
@@ -98,7 +98,7 @@ public class FeignRibbonClientTests {
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
public void remoteRequestIsSentAtRoot() throws Exception { |
|
|
|
|
Request request = new RequestTemplate().method(GET).target("http://foo") |
|
|
|
|
Request request = new RequestTemplate().method(GET).target("https://foo") |
|
|
|
|
.resolve(new HashMap<>()).request(); |
|
|
|
|
this.client.execute(request, new Options()); |
|
|
|
|
RequestMatcher matcher = new RequestMatcher("https://foo.com:8000/"); |
|
|
|
@ -107,7 +107,7 @@ public class FeignRibbonClientTests {
@@ -107,7 +107,7 @@ public class FeignRibbonClientTests {
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
public void remoteRequestIsSent() throws Exception { |
|
|
|
|
Request request = new RequestTemplate().method(GET).target("http://foo/") |
|
|
|
|
Request request = new RequestTemplate().method(GET).target("https://foo/") |
|
|
|
|
.resolve(new HashMap<>()).request(); |
|
|
|
|
this.client.execute(request, new Options()); |
|
|
|
|
RequestMatcher matcher = new RequestMatcher("https://foo.com:8000/"); |
|
|
|
|