@@ -33,6 +33,20 @@ def test_method_create_overload_1(self, client: Kernel) -> None:
3333 )
3434 assert_matches_type (VaultProviderConfig , vault_provider_config , path = ["response" ])
3535
36+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
37+ @parametrize
38+ def test_method_create_with_all_params_overload_1 (self , client : Kernel ) -> None :
39+ vault_provider_config = client .vault_provider_configs .create (
40+ credentials = {
41+ "client_id" : "x" ,
42+ "client_secret" : "x" ,
43+ "publishable_key" : "pk_test_lK9w2kI5J1" ,
44+ },
45+ name = "name" ,
46+ provider = "link" ,
47+ )
48+ assert_matches_type (VaultProviderConfig , vault_provider_config , path = ["response" ])
49+
3650 @pytest .mark .skip (reason = "Mock server tests are disabled" )
3751 @parametrize
3852 def test_raw_response_create_overload_1 (self , client : Kernel ) -> None :
@@ -173,7 +187,10 @@ def test_method_update(self, client: Kernel) -> None:
173187 def test_method_update_with_all_params (self , client : Kernel ) -> None :
174188 vault_provider_config = client .vault_provider_configs .update (
175189 id_or_name = "id_or_name" ,
176- credentials = {"client_secret" : "x" },
190+ credentials = {
191+ "client_secret" : "x" ,
192+ "publishable_key" : "pk_test_lK9w2kI5J1" ,
193+ },
177194 name = "renamed-link-client" ,
178195 )
179196 assert_matches_type (VaultProviderConfig , vault_provider_config , path = ["response" ])
@@ -310,6 +327,20 @@ async def test_method_create_overload_1(self, async_client: AsyncKernel) -> None
310327 )
311328 assert_matches_type (VaultProviderConfig , vault_provider_config , path = ["response" ])
312329
330+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
331+ @parametrize
332+ async def test_method_create_with_all_params_overload_1 (self , async_client : AsyncKernel ) -> None :
333+ vault_provider_config = await async_client .vault_provider_configs .create (
334+ credentials = {
335+ "client_id" : "x" ,
336+ "client_secret" : "x" ,
337+ "publishable_key" : "pk_test_lK9w2kI5J1" ,
338+ },
339+ name = "name" ,
340+ provider = "link" ,
341+ )
342+ assert_matches_type (VaultProviderConfig , vault_provider_config , path = ["response" ])
343+
313344 @pytest .mark .skip (reason = "Mock server tests are disabled" )
314345 @parametrize
315346 async def test_raw_response_create_overload_1 (self , async_client : AsyncKernel ) -> None :
@@ -450,7 +481,10 @@ async def test_method_update(self, async_client: AsyncKernel) -> None:
450481 async def test_method_update_with_all_params (self , async_client : AsyncKernel ) -> None :
451482 vault_provider_config = await async_client .vault_provider_configs .update (
452483 id_or_name = "id_or_name" ,
453- credentials = {"client_secret" : "x" },
484+ credentials = {
485+ "client_secret" : "x" ,
486+ "publishable_key" : "pk_test_lK9w2kI5J1" ,
487+ },
454488 name = "renamed-link-client" ,
455489 )
456490 assert_matches_type (VaultProviderConfig , vault_provider_config , path = ["response" ])
0 commit comments