mirror of https://github.com/go-gitea/gitea.git
1. fix incorrect tests, for example: BeanExists doesn't do assert and shouldn't be used 2. remove unnecessary test functions 3. introduce DumpQueryResult to help to see the database rows during test (at least I need it) ``` ====== DumpQueryResult: SELECT * FROM action_runner_token ====== - # row[0] id: 1 token: xeiWBL5kuTYxGPynHCqQdoeYmJAeG3IzGXCYTrDX owner_id: 0 ... ``` |
||
|---|---|---|
| .. | ||
| main_test.go | ||
| org.go | ||
| org_list.go | ||
| org_list_test.go | ||
| org_test.go | ||
| org_user.go | ||
| org_user_test.go | ||
| team.go | ||
| team_invite.go | ||
| team_invite_test.go | ||
| team_list.go | ||
| team_list_test.go | ||
| team_repo.go | ||
| team_repo_test.go | ||
| team_test.go | ||
| team_unit.go | ||
| team_user.go | ||