Polish
See gh-13776
This commit is contained in:
committed by
Stephane Nicoll
parent
f325ee9406
commit
068e22d60b
@@ -60,7 +60,7 @@ public class JndiConnectionFactoryAutoConfigurationTests {
|
||||
}
|
||||
|
||||
@After
|
||||
public void close() {
|
||||
public void cleanUp() {
|
||||
TestableInitialContextFactory.clearAll();
|
||||
if (this.initialContextFactory != null) {
|
||||
System.setProperty(Context.INITIAL_CONTEXT_FACTORY,
|
||||
|
||||
@@ -75,7 +75,7 @@ public class UndertowWebServerFactoryCustomizerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void deduceUseForwardHeadersUndertow() {
|
||||
public void deduceUseForwardHeaders() {
|
||||
this.environment.setProperty("DYNO", "-");
|
||||
ConfigurableUndertowWebServerFactory factory = mock(
|
||||
ConfigurableUndertowWebServerFactory.class);
|
||||
@@ -84,7 +84,7 @@ public class UndertowWebServerFactoryCustomizerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void defaultUseForwardHeadersUndertow() {
|
||||
public void defaultUseForwardHeaders() {
|
||||
ConfigurableUndertowWebServerFactory factory = mock(
|
||||
ConfigurableUndertowWebServerFactory.class);
|
||||
this.customizer.customize(factory);
|
||||
@@ -92,7 +92,7 @@ public class UndertowWebServerFactoryCustomizerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void setUseForwardHeadersUndertow() {
|
||||
public void setUseForwardHeaders() {
|
||||
this.serverProperties.setUseForwardHeaders(true);
|
||||
ConfigurableUndertowWebServerFactory factory = mock(
|
||||
ConfigurableUndertowWebServerFactory.class);
|
||||
|
||||
Reference in New Issue
Block a user