@@ -466,8 +466,9 @@ func TestActionsService_ListSelectedReposForOrgSecret(t *testing.T) {
466466 fmt .Fprintf (w , `{"total_count":1,"repositories":[{"id":1}]}` )
467467 })
468468
469+ opts := & ListOptions {Page : 2 , PerPage : 2 }
469470 ctx := context .Background ()
470- repos , _ , err := client .Actions .ListSelectedReposForOrgSecret (ctx , "o" , "NAME" )
471+ repos , _ , err := client .Actions .ListSelectedReposForOrgSecret (ctx , "o" , "NAME" , opts )
471472 if err != nil {
472473 t .Errorf ("Actions.ListSelectedReposForOrgSecret returned error: %v" , err )
473474 }
@@ -484,12 +485,12 @@ func TestActionsService_ListSelectedReposForOrgSecret(t *testing.T) {
484485
485486 const methodName = "ListSelectedReposForOrgSecret"
486487 testBadOptions (t , methodName , func () (err error ) {
487- _ , _ , err = client .Actions .ListSelectedReposForOrgSecret (ctx , "\n " , "\n " )
488+ _ , _ , err = client .Actions .ListSelectedReposForOrgSecret (ctx , "\n " , "\n " , opts )
488489 return err
489490 })
490491
491492 testNewRequestAndDoFailure (t , methodName , client , func () (* Response , error ) {
492- got , resp , err := client .Actions .ListSelectedReposForOrgSecret (ctx , "o" , "NAME" )
493+ got , resp , err := client .Actions .ListSelectedReposForOrgSecret (ctx , "o" , "NAME" , opts )
493494 if got != nil {
494495 t .Errorf ("testNewRequestAndDoFailure %v = %#v, want nil" , methodName , got )
495496 }
0 commit comments