0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-11 12:45:35 +01:00
gitea/services/migrations
singuliere 49cab2b01f
migrations: add test for importing pull requests in gitea uploader (#18752)
* logs: add the buffer logger to inspect logs during testing

Signed-off-by: Loïc Dachary <loic@dachary.org>

* migrations: add test for importing pull requests in gitea uploader

Signed-off-by: Loïc Dachary <loic@dachary.org>

* for each git.OpenRepositoryCtx, call Close

* Content is expected to return the content of the log

* test for errors before defer

Co-authored-by: Loïc Dachary <loic@dachary.org>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-02-25 17:20:50 +08:00
..
codebase_test.go
codebase.go
dump.go
error.go
git.go
gitbucket.go
gitea_downloader_test.go
gitea_downloader.go
gitea_uploader_test.go
gitea_uploader.go
github_test.go
github.go
gitlab_test.go
gitlab.go
gogs_test.go
gogs.go
http_client.go
main_test.go
migrate_test.go
migrate.go
onedev_test.go
onedev.go
restore.go
update.go