BAEL-4061: Removed request mirroring (#9448)

* BAEL-4061: Removed request mirroring

* BAEL-4061: Code refactoring

* BAEL-4061: more refactoring

* BAEL-4061: renamed methods
This commit is contained in:
Sampada
2020-06-11 21:27:04 +05:30
committed by GitHub
parent 1bd8a0b90c
commit adb04983e7
3 changed files with 13 additions and 69 deletions
@@ -89,7 +89,7 @@ public class HttpServerLiveTest {
}
@Test
public void whenGetSent_thenCookieReceivedInResponse() throws Exception {
public void whenGetSent_thenResponseOK() throws Exception {
DefaultFullHttpRequest request = createRequest(null);
channel.writeAndFlush(request);
@@ -98,9 +98,6 @@ public class HttpServerLiveTest {
assertEquals(200, response.getStatus());
assertEquals("HTTP/1.1", response.getVersion());
Map<String, String> headers = response.getHeaders();
String cookies = headers.get("set-cookie");
assertTrue(cookies.contains("my-cookie"));
}
@After