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 |
||
|---|---|---|
| .. | ||
| avatar.go | ||
| collaboration.go | ||
| deploy_key.go | ||
| git_hooks.go | ||
| lfs.go | ||
| main_test.go | ||
| protected_branch.go | ||
| protected_tag.go | ||
| runners.go | ||
| secrets.go | ||
| setting.go | ||
| settings_test.go | ||
| variables.go | ||
| webhook.go | ||