Skip to content

Commit

Permalink
fix: correct mock
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Anisimov committed Dec 9, 2020
1 parent ee4bb2c commit a7c26b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ public MockServletServiceSessionSetup(boolean sessionAvailable)
resourceProvider.getApplicationResource(Mockito.anyString()))
.thenAnswer(invocation -> {
return MockServletServiceSessionSetup.class.getResource(
"/" + invocation.getArgumentAt(1, String.class));
"/" + invocation.getArgumentAt(0, String.class));
});

servlet.init(servletConfig);
Expand Down

0 comments on commit a7c26b6

Please sign in to comment.