e8aae43f56
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 |
||
---|---|---|
.. | ||
admin.go | ||
admin_test.go | ||
applications.go | ||
auths.go | ||
config.go | ||
diagnosis.go | ||
emails.go | ||
hooks.go | ||
main_test.go | ||
notice.go | ||
orgs.go | ||
packages.go | ||
queue.go | ||
queue_tester.go | ||
repos.go | ||
runners.go | ||
stacktrace.go | ||
users.go | ||
users_test.go |