1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-01 17:38:33 +00:00

adjust tests

This commit is contained in:
pat-s 2025-06-25 23:03:23 +02:00
parent 6fc9cfa397
commit 0bb7de5739
No known key found for this signature in database
GPG key ID: 3C6318841EF78925
4 changed files with 2 additions and 4 deletions

View file

@ -17,10 +17,10 @@ import (
"strings"
"time"
user_model "forgejo.org/models/user"
"forgejo.org/modules/httplib"
"forgejo.org/modules/log"
"forgejo.org/modules/setting"
user_model "forgejo.org/modules/user"
"github.com/42wim/httpsig"
)

View file

@ -145,7 +145,7 @@ func NewGithubDownloaderV3(ctx context.Context, baseURL, userName, password, tok
}
downloader.addClient(client, baseURL)
}
return &downloader
return downloader
}
// String implements Stringer

View file

@ -14,7 +14,6 @@ import (
"time"
"forgejo.org/modules/httplib"
"forgejo.org/modules/json"
"forgejo.org/modules/log"
base "forgejo.org/modules/migration"
"forgejo.org/modules/structs"

View file

@ -15,7 +15,6 @@ import (
"forgejo.org/models/unittest"
user_model "forgejo.org/models/user"
"forgejo.org/modules/httplib"
"forgejo.org/modules/packages"
"forgejo.org/modules/setting"
"forgejo.org/tests"