@@ -23,8 +23,8 @@ describe('resource originCACertificates', () => {
2323 } ) ;
2424
2525 // TODO: investigate auth errors on test suite
26- test . skip ( 'list' , async ( ) => {
27- const responsePromise = client . originCACertificates . list ( ) ;
26+ test . skip ( 'list: only required params ' , async ( ) => {
27+ const responsePromise = client . originCACertificates . list ( { zone_id : '023e105f4ecef8ad9ca31a8372d0c353' } ) ;
2828 const rawResponse = await responsePromise . asResponse ( ) ;
2929 expect ( rawResponse ) . toBeInstanceOf ( Response ) ;
3030 const response = await responsePromise ;
@@ -35,22 +35,8 @@ describe('resource originCACertificates', () => {
3535 } ) ;
3636
3737 // TODO: investigate auth errors on test suite
38- test . skip ( 'list: request options instead of params are passed correctly' , async ( ) => {
39- // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
40- await expect ( client . originCACertificates . list ( { path : '/_stainless_unknown_path' } ) ) . rejects . toThrow (
41- Cloudflare . NotFoundError ,
42- ) ;
43- } ) ;
44-
45- // TODO: investigate auth errors on test suite
46- test . skip ( 'list: request options and params are passed correctly' , async ( ) => {
47- // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
48- await expect (
49- client . originCACertificates . list (
50- { zone_id : '023e105f4ecef8ad9ca31a8372d0c353' } ,
51- { path : '/_stainless_unknown_path' } ,
52- ) ,
53- ) . rejects . toThrow ( Cloudflare . NotFoundError ) ;
38+ test . skip ( 'list: required and optional params' , async ( ) => {
39+ const response = await client . originCACertificates . list ( { zone_id : '023e105f4ecef8ad9ca31a8372d0c353' } ) ;
5440 } ) ;
5541
5642 // TODO: investigate auth errors on test suite
0 commit comments