mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-06 08:37:13 +02:00
Update resteasy to 4.5.9.Final
Committed-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com> Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
This commit is contained in:
committed by
SCM-Manager
parent
56265be9a2
commit
f3027ba9f8
@@ -48,6 +48,7 @@ import java.io.IOException;
|
||||
import java.net.URISyntaxException;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.Mockito.lenient;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
@@ -98,7 +99,7 @@ class FailureExceptionMapperTest {
|
||||
}
|
||||
|
||||
private MockHttpResponse dispatch(MockHttpRequest request) {
|
||||
when(this.request.getMethod()).thenReturn(request.getHttpMethod());
|
||||
lenient().when(this.request.getMethod()).thenReturn(request.getHttpMethod());
|
||||
MockHttpResponse response = new MockHttpResponse();
|
||||
dispatcher.invoke(request, response);
|
||||
return response;
|
||||
|
||||
Reference in New Issue
Block a user