We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f64ff25 commit e75132dCopy full SHA for e75132d
services/migrations/github_test.go
@@ -453,7 +453,7 @@ func TestGithubMultiToken(t *testing.T) {
453
for _, tC := range testCases {
454
t.Run(tC.desc, func(t *testing.T) {
455
opts := base.MigrateOptions{CloneAddr: "https://github.com/go-gitea/gitea", AuthToken: tC.token}
456
- client, err := factory.New(t.Context(), opts)
+ client, err := factory.New(context.Background(), opts)
457
require.NoError(t, err)
458
459
cloneURL, err := client.FormatCloneURL(opts, "https://github.com")
0 commit comments