mirror of
1
Fork 0
forgejo/routers/web/admin
wxiaoguang e8aae43f56
Move web/api context related testing function into a separate package ()
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
..
admin.go Display deprecated warning in admin panel pages as well as in the log file () 2023-07-26 03:53:37 +00:00
admin_test.go
applications.go Pre-register OAuth2 applications for git credential helpers () 2023-08-09 14:24:07 +02:00
auths.go Move web JSON functions to web context and simplify code () 2023-07-26 06:04:01 +00:00
config.go Move web JSON functions to web context and simplify code () 2023-07-26 06:04:01 +00:00
diagnosis.go Improve queue & process & stacktrace () 2023-05-11 07:45:47 +00:00
emails.go
hooks.go Move web JSON functions to web context and simplify code () 2023-07-26 06:04:01 +00:00
main_test.go
notice.go
orgs.go
packages.go Allow package cleanup from admin page () 2023-08-08 00:46:10 +00:00
queue.go Fix admin queue page title () 2023-08-10 02:05:37 +00:00
queue_tester.go Improve queue and logger context () 2023-05-26 07:31:55 +00:00
repos.go Move web JSON functions to web context and simplify code () 2023-07-26 06:04:01 +00:00
runners.go
stacktrace.go Move web JSON functions to web context and simplify code () 2023-07-26 06:04:01 +00:00
users.go User details page () 2023-08-31 11:21:18 +02:00
users_test.go Move web/api context related testing function into a separate package () 2023-09-01 11:26:07 +00:00