@@ -213,7 +213,7 @@ func TestActionsService_GetWorkflowRunAttemptLogs(t *testing.T) {
213213
214214 mux .HandleFunc ("/repos/o/r/actions/runs/399444496/attempts/2/logs" , func (w http.ResponseWriter , r * http.Request ) {
215215 testMethod (t , r , "GET" )
216- http .Redirect (w , r , "http ://github.com/a" , http .StatusFound )
216+ http .Redirect (w , r , "https ://github.com/a" , http .StatusFound )
217217 })
218218
219219 ctx := context .Background ()
@@ -224,7 +224,7 @@ func TestActionsService_GetWorkflowRunAttemptLogs(t *testing.T) {
224224 if resp .StatusCode != http .StatusFound {
225225 t .Errorf ("Actions.GetWorkflowRunAttemptLogs returned status: %d, want %d" , resp .StatusCode , http .StatusFound )
226226 }
227- want := "http ://github.com/a"
227+ want := "https ://github.com/a"
228228 if url .String () != want {
229229 t .Errorf ("Actions.GetWorkflowRunAttemptLogs returned %+v, want %+v" , url .String (), want )
230230 }
@@ -262,7 +262,7 @@ func TestActionsService_GetWorkflowRunAttemptLogs_StatusMovedPermanently_dontFol
262262
263263 mux .HandleFunc ("/repos/o/r/actions/runs/399444496/attempts/2/logs" , func (w http.ResponseWriter , r * http.Request ) {
264264 testMethod (t , r , "GET" )
265- http .Redirect (w , r , "http ://github.com/a" , http .StatusMovedPermanently )
265+ http .Redirect (w , r , "https ://github.com/a" , http .StatusMovedPermanently )
266266 })
267267
268268 ctx := context .Background ()
@@ -305,7 +305,7 @@ func TestActionsService_GetWorkflowRunAttemptLogs_StatusMovedPermanently_followR
305305
306306 mux .HandleFunc ("/redirect" , func (w http.ResponseWriter , r * http.Request ) {
307307 testMethod (t , r , "GET" )
308- http .Redirect (w , r , "http ://github.com/a" , http .StatusFound )
308+ http .Redirect (w , r , "https ://github.com/a" , http .StatusFound )
309309 })
310310
311311 ctx := context .Background ()
@@ -318,7 +318,7 @@ func TestActionsService_GetWorkflowRunAttemptLogs_StatusMovedPermanently_followR
318318 t .Errorf ("Actions.GetWorkflowRunAttemptLogs returned status: %d, want %d" , resp .StatusCode , http .StatusFound )
319319 }
320320
321- want := "http ://github.com/a"
321+ want := "https ://github.com/a"
322322 if url .String () != want {
323323 t .Errorf ("Actions.GetWorkflowRunAttemptLogs returned %+v, want %+v" , url .String (), want )
324324 }
@@ -524,7 +524,7 @@ func TestActionsService_GetWorkflowRunLogs(t *testing.T) {
524524
525525 mux .HandleFunc ("/repos/o/r/actions/runs/399444496/logs" , func (w http.ResponseWriter , r * http.Request ) {
526526 testMethod (t , r , "GET" )
527- http .Redirect (w , r , "http ://github.com/a" , http .StatusFound )
527+ http .Redirect (w , r , "https ://github.com/a" , http .StatusFound )
528528 })
529529
530530 ctx := context .Background ()
@@ -535,7 +535,7 @@ func TestActionsService_GetWorkflowRunLogs(t *testing.T) {
535535 if resp .StatusCode != http .StatusFound {
536536 t .Errorf ("Actions.GetWorkflowRunLogs returned status: %d, want %d" , resp .StatusCode , http .StatusFound )
537537 }
538- want := "http ://github.com/a"
538+ want := "https ://github.com/a"
539539 if url .String () != want {
540540 t .Errorf ("Actions.GetWorkflowRunLogs returned %+v, want %+v" , url .String (), want )
541541 }
@@ -573,7 +573,7 @@ func TestActionsService_GetWorkflowRunLogs_StatusMovedPermanently_dontFollowRedi
573573
574574 mux .HandleFunc ("/repos/o/r/actions/runs/399444496/logs" , func (w http.ResponseWriter , r * http.Request ) {
575575 testMethod (t , r , "GET" )
576- http .Redirect (w , r , "http ://github.com/a" , http .StatusMovedPermanently )
576+ http .Redirect (w , r , "https ://github.com/a" , http .StatusMovedPermanently )
577577 })
578578
579579 ctx := context .Background ()
@@ -616,7 +616,7 @@ func TestActionsService_GetWorkflowRunLogs_StatusMovedPermanently_followRedirect
616616
617617 mux .HandleFunc ("/redirect" , func (w http.ResponseWriter , r * http.Request ) {
618618 testMethod (t , r , "GET" )
619- http .Redirect (w , r , "http ://github.com/a" , http .StatusFound )
619+ http .Redirect (w , r , "https ://github.com/a" , http .StatusFound )
620620 })
621621
622622 ctx := context .Background ()
@@ -629,7 +629,7 @@ func TestActionsService_GetWorkflowRunLogs_StatusMovedPermanently_followRedirect
629629 t .Errorf ("Actions.GetWorkflowJobLogs returned status: %d, want %d" , resp .StatusCode , http .StatusFound )
630630 }
631631
632- want := "http ://github.com/a"
632+ want := "https ://github.com/a"
633633 if url .String () != want {
634634 t .Errorf ("Actions.GetWorkflowJobLogs returned %+v, want %+v" , url .String (), want )
635635 }
0 commit comments