gitea/modules/test
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) ()
* Remove `db.DefaultContext` usage in routers, use `ctx` directly

* Use `ctx` directly if there is one, remove some `db.DefaultContext` in `services`

* Use ctx instead of db.DefaultContext for `cmd` and some `modules` packages

* fix incorrect context usage
..
context_tests.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) ()
utils.go Unit tests for routers/repo/issue_label ()