Skip to content

Commit

Permalink
* fix mock setup to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanr committed Nov 5, 2024
1 parent e166350 commit 456d537
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private void prepareOGCFrontController(RequestContext mockedContext) throws Exce
.thenCallRealMethod();
PowerMockito.when(OGCFrontController.class, "parseHost", anyString()).thenCallRealMethod();
PowerMockito.when(OGCFrontController.class, "parseProtocol", anyString(), any(URL.class)).thenCallRealMethod();
PowerMockito.when(OGCFrontController.class, "parsePort", anyString(), anyString(), any(URL.class))
PowerMockito.when(OGCFrontController.class, "parsePort", any(), anyString(), any(URL.class))
.thenCallRealMethod();
PowerMockito.when(OGCFrontController.getContext()).thenReturn(mockedContext);
}
Expand Down

0 comments on commit 456d537

Please sign in to comment.