Commit Graph

1 Commits (fef34790bb73b12b8b11daa45f17bd30fe30f4f0)

Author SHA1 Message Date
wxiaoguang ca5f302876
Fix admin config page error, use tests to cover the admin config and 500 error page (#24965)
The admin config page has been broken for many many times, a little
refactoring would make this page panic.

So, add a test for it, and add another test to cover the 500 error page.

Co-authored-by: Giteabot <teabot@gitea.io>
2 years ago