1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-11 05:30:03 -04:00
gitea/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>
2022-05-05 11:39:26 -04:00
..
consistency.go GetFeeds must always discard actions with dangling repo_id (#19598) 2022-05-05 11:39:26 -04:00
fixtures.go
fscopy.go
reflection.go
testdb.go Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
unit_tests.go