mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 11:00:47 +02:00
zip and response issues (#5786)
This commit is contained in:
+1
-1
@@ -298,7 +298,7 @@ public class ConvertWebsiteToPdfTest {
|
||||
HttpResponse<String> response = Mockito.mock();
|
||||
|
||||
httpClientStatic.when(HttpClient::newBuilder).thenReturn(builder);
|
||||
when(builder.followRedirects(HttpClient.Redirect.NORMAL)).thenReturn(builder);
|
||||
when(builder.followRedirects(HttpClient.Redirect.NEVER)).thenReturn(builder);
|
||||
when(builder.connectTimeout(any(Duration.class))).thenReturn(builder);
|
||||
when(builder.build()).thenReturn(client);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user