You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/organization
wxiaoguang 0ed160ffea
Refactor tests (#33021)
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
...
```
1 month ago
..
main_test.go make writing main test easier (#27270) 1 year ago
org.go Move RepoTransfer from models to models/repo sub package (#32506) 1 month ago
org_list.go Introduce OrgList and add LoadTeams, optimaze Load teams for orgs (#32543) 2 months ago
org_list_test.go Enable tenv and testifylint rules (#32852) 2 months ago
org_test.go Move RepoTransfer from models to models/repo sub package (#32506) 1 month ago
org_user.go Move some errors to their own sub packages (#32880) 1 month ago
org_user_test.go Refactor tests (#33021) 1 month ago
team.go Move RepoTransfer from models to models/repo sub package (#32506) 1 month ago
team_invite.go Implement FSFE REUSE for golang files (#21840) 2 years ago
team_invite_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 1 year ago
team_list.go Move RepoTransfer from models to models/repo sub package (#32506) 1 month ago
team_list_test.go Use batch database operations instead of one by one to optimze api pulls (#32680) 2 months ago
team_repo.go Move RepoTransfer from models to models/repo sub package (#32506) 1 month ago
team_repo_test.go Fix get reviewers' bug (#32415) 2 months ago
team_test.go Move RepoTransfer from models to models/repo sub package (#32506) 1 month ago
team_unit.go Even more `db.DefaultContext` refactor (#27352) 1 year ago
team_user.go Add user blocking (#29028) 11 months ago