summaryrefslogtreecommitdiffstats
path: root/models/org_test.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-12-10 19:43:28 +0000
committerGitHub <noreply@github.com>2021-12-10 19:43:28 +0000
commitf550e356d6cfe84b2891776d778531afa92ef902 (patch)
tree2daf491cd4bdc7eeca333b685a335e92a7bf34eb /models/org_test.go
parent3ca5dc7e32b372d14ff80d96f14b8f6a805862f1 (diff)
downloadgitea-f550e356d6cfe84b2891776d778531afa92ef902.tar.gz
gitea-f550e356d6cfe84b2891776d778531afa92ef902.zip
Prevent services/mailer/mailer_test.go tests from deleteing data directory (#17941)
Running `make test-backend` will delete `data/` due to reloading the configuration and resetting the appdatapath. This PR removes this unnecessary config reload but also adds extra code in to the unittest main to prevent its cleanup from deleting the wrong directory. Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'models/org_test.go')
0 files changed, 0 insertions, 0 deletions