Fix broken build - Thanks Jenkins!
This commit is contained in:
parent
af64f1b9e1
commit
e7d2a19ac6
|
@ -9,6 +9,10 @@ import org.junit.Test;
|
|||
|
||||
public class IncomingRequestAddressStrategyTest {
|
||||
|
||||
/**
|
||||
* This is an incoming request from an instance of Tomcat on AWS, provided by
|
||||
* Simon Ling of Systems Made Simple
|
||||
*/
|
||||
@Test
|
||||
public void testAwsUrl() {
|
||||
|
||||
|
@ -19,18 +23,8 @@ public class IncomingRequestAddressStrategyTest {
|
|||
when(req.getContextPath()).thenReturn("/FhirStorm");
|
||||
|
||||
IncomingRequestAddressStrategy incomingRequestAddressStrategy = new IncomingRequestAddressStrategy();
|
||||
String actual = incomingRequestAddressStrategy.determineServerBase(req);
|
||||
String actual = incomingRequestAddressStrategy.determineServerBase(null,req);
|
||||
assertEquals("http://fhirstorm.dyndns.org:8080/FhirStorm/fhir", actual);
|
||||
}
|
||||
|
||||
/*
|
||||
IncomingRequestAddressStrategy15:29:02.876 [http-bio-8080-exec-3] TRACE c.uhn.fhir.rest.server.RestfulServer -
|
||||
Request FullPath: /FhirStorm/fhir/Patient/_search
|
||||
15:29:02.876 [http-bio-8080-exec-3] TRACE c.uhn.fhir.rest.server.RestfulServer -
|
||||
Servlet Path: /fhir
|
||||
15:29:02.876 [http-bio-8080-exec-3] TRACE c.uhn.fhir.rest.server.RestfulServer -
|
||||
Request Url: http://fhirstorm.dyndns.org:8080/FhirStorm/fhir/Patient/_search
|
||||
15:29:02.876 [http-bio-8080-exec-3] TRACE c.uhn.fhir.rest.server.RestfulServer -
|
||||
Context Path: /FhirStorm
|
||||
*/
|
||||
}
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
eclipse.preferences.version=1
|
||||
encoding//src/main/java=UTF-8
|
||||
encoding/<project>=UTF-8
|
||||
|
|
Loading…
Reference in New Issue