mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-18 22:44:18 +01:00
Before:  After:  This issue comes from the change in #25468. `LoadProject` will always return at least one record, so we use `ProjectID` to check whether an issue is linked to a project in the old code. As other `issue.LoadXXX` functions, we need to check the return value from `xorm.Session.Get`. In recent unit tests, we only test `issueList.LoadAttributes()` but don't test `issue.LoadAttributes()`. So I added a new test for `issue.LoadAttributes()` in this PR. --------- Co-authored-by: Denys Konovalov <privat@denyskon.de> |
||
---|---|---|
.. | ||
setting | ||
home.go | ||
main_test.go | ||
members.go | ||
org_labels.go | ||
org.go | ||
projects_test.go | ||
projects.go | ||
setting_oauth2.go | ||
setting_packages.go | ||
setting.go | ||
teams.go |