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 |
||
|---|---|---|
| .. | ||
| security | ||
| account.go | ||
| account_test.go | ||
| adopt.go | ||
| applications.go | ||
| keys.go | ||
| main_test.go | ||
| oauth2.go | ||
| oauth2_common.go | ||
| packages.go | ||
| profile.go | ||
| runner.go | ||
| webhooks.go | ||