gitea/services/org
Lunny Xiao 673cf6af76
make writing main test easier ()
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>
..
org.go Refactor rename user and rename organization ()
org_test.go make writing main test easier ()
repo.go More refactoring of `db.DefaultContext` ()
repo_test.go More refactoring of `db.DefaultContext` ()
team_invite.go Implement FSFE REUSE for golang files ()