We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ca65c8 commit d8f420aCopy full SHA for d8f420a
1 file changed
src/test/java/dev/openfga/sdk/api/client/StreamingApiExecutorTest.java
@@ -365,6 +365,7 @@ public void stream_appliesApiTokenAuthHeader() throws Exception {
365
// Use a real ApiClient backed by the same mockHttpClient so applyAuthHeader runs for real.
366
var authBuilder = mock(HttpClient.Builder.class);
367
when(authBuilder.executor(any())).thenReturn(authBuilder);
368
+ when(authBuilder.connectTimeout(any())).thenReturn(authBuilder);
369
when(authBuilder.build()).thenReturn(mockHttpClient);
370
ApiClient realApiClient = new ApiClient(authBuilder, new ObjectMapper());
371
0 commit comments