Skip to content
Snippets Groups Projects
Commit 4a9fa49a authored by Komal Makkar's avatar Komal Makkar
Browse files

minor changes

parent a31ea2b4
No related branches found
No related tags found
1 merge request!56[Core] [Azure] Adding handshake filter
......@@ -23,9 +23,6 @@ public class HandshakeFilterTest {
@Mock
private IPubsubRequestBodyExtractor requestBodyExtractor;
@Mock
private IPubsubHandshakeHandler handshakeHandler;
@Mock
private HttpServletRequest httpServletRequest;
......@@ -42,6 +39,7 @@ public class HandshakeFilterTest {
public void should_CallFiltersIfNotHandshake() throws IOException, ServletException {
doReturn("records-changed").when(httpServletRequest).getServletPath();
doReturn(false).when(this.requestBodyExtractor).isHandshakeRequest();
this.sut.doFilter(this.httpServletRequest, this.servletResponse, this.filterChain);
verify(this.filterChain, times(1)).doFilter(httpServletRequest, servletResponse);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment