Polish
Closes gh-11792
This commit is contained in:
committed by
Stephane Nicoll
parent
aa36288cee
commit
a46e047c5d
@@ -112,7 +112,7 @@ public class ServletEndpointDiscovererTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getEndpointWhenEndpoinSuppliesNullShouldThrowException() {
|
||||
public void getEndpointWhenEndpointSuppliesNullShouldThrowException() {
|
||||
load(TestServletEndpointSupplierOfNull.class, (discoverer) -> {
|
||||
this.thrown.expect(IllegalStateException.class);
|
||||
this.thrown.expectMessage("must not supply null");
|
||||
|
||||
@@ -142,7 +142,7 @@ public class HttpExchangeTracerTests {
|
||||
public void mixedCaseCookieHeaderIsNotIncludedByDefault() {
|
||||
HttpTrace trace = new HttpExchangeTracer(EnumSet.of(Include.REQUEST_HEADERS))
|
||||
.receivedRequest(createRequest(Collections.singletonMap(
|
||||
mixedCase(HttpHeaders.COOKIE), Arrays.asList("valuet"))));
|
||||
mixedCase(HttpHeaders.COOKIE), Arrays.asList("value"))));
|
||||
Request request = trace.getRequest();
|
||||
assertThat(request.getHeaders()).isEmpty();
|
||||
}
|
||||
@@ -285,7 +285,7 @@ public class HttpExchangeTracerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void timeTakedCanBeIncluded() {
|
||||
public void timeTakenCanBeIncluded() {
|
||||
HttpTrace trace = new HttpTrace(createRequest());
|
||||
new HttpExchangeTracer(EnumSet.of(Include.TIME_TAKEN)).sendingResponse(trace,
|
||||
createResponse(), null, null);
|
||||
|
||||
Reference in New Issue
Block a user