File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
finch-java-core/src/test/kotlin/com/tryfinch/api/core Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 45
22openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-46f433f34d440aa1dfcc48cc8d822c598571b68be2f723ec99e1b4fba6c13b1e.yml
33openapi_spec_hash : 5b5cd728776723ac773900f7e8a32c05
4- config_hash : 0892e2e0eeb0343a022afa62e9080dd1
4+ config_hash : 83522e0e335cf983f8d2119c1f2bba18
Original file line number Diff line number Diff line change @@ -19,7 +19,12 @@ internal class ClientOptionsTest {
1919 @Test
2020 fun toBuilder_whenOriginalClientOptionsGarbageCollected_doesNotCloseOriginalClient () {
2121 var clientOptions =
22- ClientOptions .builder().httpClient(httpClient).accessToken(" My Access Token" ).build()
22+ ClientOptions .builder()
23+ .httpClient(httpClient)
24+ .accessToken(" My Access Token" )
25+ .clientId(" 4ab15e51-11ad-49f4-acae-f343b7794375" )
26+ .clientSecret(" My Client Secret" )
27+ .build()
2328 verify(httpClient, never()).close()
2429
2530 // Overwrite the `clientOptions` variable so that the original `ClientOptions` is GC'd.
You can’t perform that action at this time.
0 commit comments