1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-10 17:25:54 +01:00
gitea/models
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
..
actions Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) 2023-09-27 05:37:48 +00:00
activities make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
admin Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
asymkey make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
auth make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
avatars make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
db make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
dbfs make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
fixtures Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
git make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
issues make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
migrations Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
organization make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
packages make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
perm make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
project make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
pull refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
secret Refactor secrets modification logic (#26873) 2023-09-05 15:21:02 +00:00
shared/types Display owner of a runner as a tooltip instead of static text (#24377) 2023-05-12 08:43:27 +00:00
system make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
unit Use Set[Type] instead of map[Type]bool/struct{}. (#26804) 2023-08-30 06:55:25 +00:00
unittest make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
user make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
webhook make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
error.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
fixture_generation.go Fix yaml test (#27297) 2023-09-26 23:30:03 -04:00
fixture_test.go Fix yaml test (#27297) 2023-09-26 23:30:03 -04:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
org_team_test.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
org_team.go Use db.WithTx for AddTeamMember to avoid ctx abuse (#27095) 2023-09-16 12:54:23 +00:00
org_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo_transfer_test.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
repo_transfer.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
repo.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00