Commit Graph
1 Commits
Author SHA1 Message Date
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 <[email protected]>

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

Signed-off-by: Loïc Dachary <[email protected]>

* 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 <[email protected]>
Co-authored-by: zeripath <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
2022-02-25 17:20:50 +08:00