@@ -198,7 +198,7 @@ func TestActionsService_GetWorkflowRunAttemptLogs(t *testing.T) {
198198 })
199199
200200 ctx := context .Background ()
201- url , resp , err := client .Actions .GetWorkflowRunAttemptLogs (ctx , "o" , "r" , 399444496 , 2 , true )
201+ url , resp , err := client .Actions .GetWorkflowRunAttemptLogs (ctx , "o" , "r" , 399444496 , 2 , 1 )
202202 if err != nil {
203203 t .Errorf ("Actions.GetWorkflowRunAttemptLogs returned error: %v" , err )
204204 }
@@ -212,7 +212,7 @@ func TestActionsService_GetWorkflowRunAttemptLogs(t *testing.T) {
212212
213213 const methodName = "GetWorkflowRunAttemptLogs"
214214 testBadOptions (t , methodName , func () (err error ) {
215- _ , _ , err = client .Actions .GetWorkflowRunAttemptLogs (ctx , "\n " , "\n " , 399444496 , 2 , true )
215+ _ , _ , err = client .Actions .GetWorkflowRunAttemptLogs (ctx , "\n " , "\n " , 399444496 , 2 , 1 )
216216 return err
217217 })
218218}
@@ -227,7 +227,7 @@ func TestActionsService_GetWorkflowRunAttemptLogs_StatusMovedPermanently_dontFol
227227 })
228228
229229 ctx := context .Background ()
230- _ , resp , _ := client .Actions .GetWorkflowRunAttemptLogs (ctx , "o" , "r" , 399444496 , 2 , false )
230+ _ , resp , _ := client .Actions .GetWorkflowRunAttemptLogs (ctx , "o" , "r" , 399444496 , 2 , 0 )
231231 if resp .StatusCode != http .StatusMovedPermanently {
232232 t .Errorf ("Actions.GetWorkflowRunAttemptLogs returned status: %d, want %d" , resp .StatusCode , http .StatusMovedPermanently )
233233 }
@@ -250,7 +250,7 @@ func TestActionsService_GetWorkflowRunAttemptLogs_StatusMovedPermanently_followR
250250 })
251251
252252 ctx := context .Background ()
253- url , resp , err := client .Actions .GetWorkflowRunAttemptLogs (ctx , "o" , "r" , 399444496 , 2 , true )
253+ url , resp , err := client .Actions .GetWorkflowRunAttemptLogs (ctx , "o" , "r" , 399444496 , 2 , 1 )
254254 if err != nil {
255255 t .Errorf ("Actions.GetWorkflowRunAttemptLogs returned error: %v" , err )
256256 }
@@ -266,7 +266,7 @@ func TestActionsService_GetWorkflowRunAttemptLogs_StatusMovedPermanently_followR
266266
267267 const methodName = "GetWorkflowRunAttemptLogs"
268268 testBadOptions (t , methodName , func () (err error ) {
269- _ , _ , err = client .Actions .GetWorkflowRunAttemptLogs (ctx , "\n " , "\n " , 399444496 , 2 , true )
269+ _ , _ , err = client .Actions .GetWorkflowRunAttemptLogs (ctx , "\n " , "\n " , 399444496 , 2 , 1 )
270270 return err
271271 })
272272}
@@ -397,7 +397,7 @@ func TestActionsService_GetWorkflowRunLogs(t *testing.T) {
397397 })
398398
399399 ctx := context .Background ()
400- url , resp , err := client .Actions .GetWorkflowRunLogs (ctx , "o" , "r" , 399444496 , true )
400+ url , resp , err := client .Actions .GetWorkflowRunLogs (ctx , "o" , "r" , 399444496 , 1 )
401401 if err != nil {
402402 t .Errorf ("Actions.GetWorkflowRunLogs returned error: %v" , err )
403403 }
@@ -411,7 +411,7 @@ func TestActionsService_GetWorkflowRunLogs(t *testing.T) {
411411
412412 const methodName = "GetWorkflowRunLogs"
413413 testBadOptions (t , methodName , func () (err error ) {
414- _ , _ , err = client .Actions .GetWorkflowRunLogs (ctx , "\n " , "\n " , 399444496 , true )
414+ _ , _ , err = client .Actions .GetWorkflowRunLogs (ctx , "\n " , "\n " , 399444496 , 1 )
415415 return err
416416 })
417417}
@@ -426,7 +426,7 @@ func TestActionsService_GetWorkflowRunLogs_StatusMovedPermanently_dontFollowRedi
426426 })
427427
428428 ctx := context .Background ()
429- _ , resp , _ := client .Actions .GetWorkflowRunLogs (ctx , "o" , "r" , 399444496 , false )
429+ _ , resp , _ := client .Actions .GetWorkflowRunLogs (ctx , "o" , "r" , 399444496 , 0 )
430430 if resp .StatusCode != http .StatusMovedPermanently {
431431 t .Errorf ("Actions.GetWorkflowJobLogs returned status: %d, want %d" , resp .StatusCode , http .StatusMovedPermanently )
432432 }
@@ -449,7 +449,7 @@ func TestActionsService_GetWorkflowRunLogs_StatusMovedPermanently_followRedirect
449449 })
450450
451451 ctx := context .Background ()
452- url , resp , err := client .Actions .GetWorkflowRunLogs (ctx , "o" , "r" , 399444496 , true )
452+ url , resp , err := client .Actions .GetWorkflowRunLogs (ctx , "o" , "r" , 399444496 , 1 )
453453 if err != nil {
454454 t .Errorf ("Actions.GetWorkflowJobLogs returned error: %v" , err )
455455 }
@@ -465,7 +465,7 @@ func TestActionsService_GetWorkflowRunLogs_StatusMovedPermanently_followRedirect
465465
466466 const methodName = "GetWorkflowRunLogs"
467467 testBadOptions (t , methodName , func () (err error ) {
468- _ , _ , err = client .Actions .GetWorkflowRunLogs (ctx , "\n " , "\n " , 399444496 , true )
468+ _ , _ , err = client .Actions .GetWorkflowRunLogs (ctx , "\n " , "\n " , 399444496 , 1 )
469469 return err
470470 })
471471}
0 commit comments