forgejo/routers
Lunny Xiao 673cf6af76
make writing main test easier (#27270)
This PR removed `unittest.MainTest` the second parameter
`TestOptions.GiteaRoot`. Now it detects the root directory by current
working directory.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-09-28 01:38:53 +00:00
..
api make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
common make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
install make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
private make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
utils
web make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
init.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00