You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services
zeripath f550e356d6
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>
3 years ago
..
agit Move user related model into models/user (#17781) 3 years ago
asymkey Move keys to models/asymkey (#17917) 3 years ago
attachment Move user related model into models/user (#17781) 3 years ago
auth Move keys to models/asymkey (#17917) 3 years ago
comments Move repository model into models/repo (#17933) 3 years ago
cron Move keys to models/asymkey (#17917) 3 years ago
externalaccount Move more model into models/user (#17826) 3 years ago
forms Improve install code to avoid low-level mistakes. (#17779) 3 years ago
gitdiff Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
issue Move repository model into models/repo (#17933) 3 years ago
lfs Move repository model into models/repo (#17933) 3 years ago
mailer Prevent services/mailer/mailer_test.go tests from deleteing data directory (#17941) 3 years ago
migrations Move repository model into models/repo (#17933) 3 years ago
mirror Move repository model into models/repo (#17933) 3 years ago
org Move repository model into models/repo (#17933) 3 years ago
pull Move keys to models/asymkey (#17917) 3 years ago
release Move repository model into models/repo (#17933) 3 years ago
repository Move keys to models/asymkey (#17917) 3 years ago
task Move repository model into models/repo (#17933) 3 years ago
user Move keys to models/asymkey (#17917) 3 years ago
webhook Move repository model into models/repo (#17933) 3 years ago
wiki Move keys to models/asymkey (#17917) 3 years ago