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
singuliere b536b65189
GetFeeds must always discard actions with dangling repo_id (#19598)
* GetFeeds must always discard actions with dangling repo_id

See https://discourse.gitea.io/t/blank-page-after-login/5051/12
for a panic in 1.16.6.

* add comment to explain the dangling ID in the fixture

* loadRepoOwner must not attempt to use a nil action.Repo

* make fmt

Co-authored-by: Loïc Dachary <loic@dachary.org>
2 years ago
..
consistency.go GetFeeds must always discard actions with dangling repo_id (#19598) 2 years ago
fixtures.go Improve install code to avoid low-level mistakes. (#17779) 3 years ago
fscopy.go Remove legacy `unknwon/com` package (#19298) 2 years ago
reflection.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
testdb.go Use a struct as test options (#19393) 2 years ago
unit_tests.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago