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/models/unittest
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
..
consistency.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
fixtures.go Improve install code to avoid low-level mistakes. (#17779) 3 years ago
reflection.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
testdb.go Prevent services/mailer/mailer_test.go tests from deleteing data directory (#17941) 3 years ago
unit_tests.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago