1
1
Fork 1
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-26 16:26:20 +02:00
gitea/routers/api
wxiaoguang e8aae43f56
Move web/api context related testing function into a separate package (#26859)
Just like `models/unittest`, the testing helper functions should be in a
separate package: `contexttest`

And complete the TODO:

> // TODO: move this function to other packages, because it depends on
"models" package
2023-09-01 11:26:07 +00:00
..
actions Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 2023-08-30 06:55:25 +00:00
packages Add auth-required to config.json for Cargo http registry (#26729) 2023-08-28 07:05:39 +00:00
v1 Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00