mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-20 22:12:39 +08:00

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>