mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-10 10:44:06 +09:00
Use mount but not register for chi routes (#13555)
* Use mount but not register for chi routes * Fix test * Fix test * Fix test * Fix comment * turn back unnecessary change * Remove the timout middleware since some operations may spend much time.
This commit is contained in:
@ -68,7 +68,8 @@ func TestMain(m *testing.M) {
|
||||
|
||||
initIntegrationTest()
|
||||
c = routes.NewChi()
|
||||
routes.RegisterRoutes(c)
|
||||
c.Mount("/", routes.NormalRoutes())
|
||||
routes.DelegateToMacaron(c)
|
||||
|
||||
// integration test settings...
|
||||
if setting.Cfg != nil {
|
||||
|
Reference in New Issue
Block a user