@@ -30,7 +30,7 @@ describe('resource companies', () => {
30
30
} ) ;
31
31
32
32
test ( 'list' , async ( ) => {
33
- const responsePromise = intercom . contacts . companies . list ( 'contact_id ' ) ;
33
+ const responsePromise = intercom . contacts . companies . list ( '63a07ddf05a32042dffac965 ' ) ;
34
34
const rawResponse = await responsePromise . asResponse ( ) ;
35
35
expect ( rawResponse ) . toBeInstanceOf ( Response ) ;
36
36
const response = await responsePromise ;
@@ -43,15 +43,15 @@ describe('resource companies', () => {
43
43
test ( 'list: request options instead of params are passed correctly' , async ( ) => {
44
44
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
45
45
await expect (
46
- intercom . contacts . companies . list ( 'contact_id ' , { path : '/_stainless_unknown_path' } ) ,
46
+ intercom . contacts . companies . list ( '63a07ddf05a32042dffac965 ' , { path : '/_stainless_unknown_path' } ) ,
47
47
) . rejects . toThrow ( Intercom . NotFoundError ) ;
48
48
} ) ;
49
49
50
50
test ( 'list: request options and params are passed correctly' , async ( ) => {
51
51
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
52
52
await expect (
53
53
intercom . contacts . companies . list (
54
- 'contact_id ' ,
54
+ '63a07ddf05a32042dffac965 ' ,
55
55
{ 'Intercom-Version' : '2.11' } ,
56
56
{ path : '/_stainless_unknown_path' } ,
57
57
) ,
0 commit comments