@@ -452,7 +452,8 @@ func TestBillingService_GetAdvancedSecurityActiveCommittersOrg(t *testing.T) {
452
452
})
453
453
454
454
ctx := context .Background ()
455
- hook , _ , err := client .Billing .GetAdvancedSecurityActiveCommittersOrg (ctx , "o" )
455
+ opts := & ListOptions {Page : 2 , PerPage : 50 }
456
+ hook , _ , err := client .Billing .GetAdvancedSecurityActiveCommittersOrg (ctx , "o" , opts )
456
457
if err != nil {
457
458
t .Errorf ("Billing.GetAdvancedSecurityActiveCommittersOrg returned error: %v" , err )
458
459
}
@@ -478,12 +479,12 @@ func TestBillingService_GetAdvancedSecurityActiveCommittersOrg(t *testing.T) {
478
479
479
480
const methodName = "GetAdvancedSecurityActiveCommittersOrg"
480
481
testBadOptions (t , methodName , func () (err error ) {
481
- _ , _ , err = client .Billing .GetAdvancedSecurityActiveCommittersOrg (ctx , "\n " )
482
+ _ , _ , err = client .Billing .GetAdvancedSecurityActiveCommittersOrg (ctx , "\n " , nil )
482
483
return err
483
484
})
484
485
485
486
testNewRequestAndDoFailure (t , methodName , client , func () (* Response , error ) {
486
- got , resp , err := client .Billing .GetAdvancedSecurityActiveCommittersOrg (ctx , "o" )
487
+ got , resp , err := client .Billing .GetAdvancedSecurityActiveCommittersOrg (ctx , "o" , nil )
487
488
if got != nil {
488
489
t .Errorf ("testNewRequestAndDoFailure %v = %#v, want nil" , methodName , got )
489
490
}
@@ -496,6 +497,6 @@ func TestBillingService_GetAdvancedSecurityActiveCommittersOrg_invalidOrg(t *tes
496
497
defer teardown ()
497
498
498
499
ctx := context .Background ()
499
- _ , _ , err := client .Billing .GetAdvancedSecurityActiveCommittersOrg (ctx , "%" )
500
+ _ , _ , err := client .Billing .GetAdvancedSecurityActiveCommittersOrg (ctx , "%" , nil )
500
501
testURLParseError (t , err )
501
502
}
0 commit comments