mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-01 17:38:33 +00:00
adjust tests
This commit is contained in:
parent
6fc9cfa397
commit
0bb7de5739
4 changed files with 2 additions and 4 deletions
|
@ -17,10 +17,10 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
user_model "forgejo.org/models/user"
|
||||||
"forgejo.org/modules/httplib"
|
"forgejo.org/modules/httplib"
|
||||||
"forgejo.org/modules/log"
|
"forgejo.org/modules/log"
|
||||||
"forgejo.org/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
user_model "forgejo.org/modules/user"
|
|
||||||
|
|
||||||
"github.com/42wim/httpsig"
|
"github.com/42wim/httpsig"
|
||||||
)
|
)
|
||||||
|
|
|
@ -145,7 +145,7 @@ func NewGithubDownloaderV3(ctx context.Context, baseURL, userName, password, tok
|
||||||
}
|
}
|
||||||
downloader.addClient(client, baseURL)
|
downloader.addClient(client, baseURL)
|
||||||
}
|
}
|
||||||
return &downloader
|
return downloader
|
||||||
}
|
}
|
||||||
|
|
||||||
// String implements Stringer
|
// String implements Stringer
|
||||||
|
|
|
@ -14,7 +14,6 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"forgejo.org/modules/httplib"
|
"forgejo.org/modules/httplib"
|
||||||
"forgejo.org/modules/json"
|
|
||||||
"forgejo.org/modules/log"
|
"forgejo.org/modules/log"
|
||||||
base "forgejo.org/modules/migration"
|
base "forgejo.org/modules/migration"
|
||||||
"forgejo.org/modules/structs"
|
"forgejo.org/modules/structs"
|
||||||
|
|
|
@ -15,7 +15,6 @@ import (
|
||||||
"forgejo.org/models/unittest"
|
"forgejo.org/models/unittest"
|
||||||
user_model "forgejo.org/models/user"
|
user_model "forgejo.org/models/user"
|
||||||
"forgejo.org/modules/httplib"
|
"forgejo.org/modules/httplib"
|
||||||
"forgejo.org/modules/packages"
|
|
||||||
"forgejo.org/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
"forgejo.org/tests"
|
"forgejo.org/tests"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue