mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-03-25 20:23:32 -04:00
Came across a coding error from #11504 while working on adding a UI for repo-specific access tokens. I couldn't find a practical way to test this fix as there are no expected error conditions that will be returned here, just database-level errors, and the `SetFaultInjector` capability in testing is only integrated into unit tests, not integration tests. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11682 Reviewed-by: Cyborus <cyborus@disroot.org> Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Mathieu Fenniak <mathieu@fenniak.net> Co-committed-by: Mathieu Fenniak <mathieu@fenniak.net> |
||
|---|---|---|
| .. | ||
| action.go | ||
| app.go | ||
| avatar.go | ||
| email.go | ||
| follower.go | ||
| gpg_key.go | ||
| helper.go | ||
| hook.go | ||
| key.go | ||
| quota.go | ||
| repo.go | ||
| runners.go | ||
| settings.go | ||
| star.go | ||
| user.go | ||
| watch.go | ||