mirror of
https://github.com/go-gitea/gitea
synced 2025-01-10 17:54:27 +00:00
b49a195839
NewTestEngine() takes a *xorm.Engine as its argument, and then immediately overwrites it. This fixes the model package to not take an unneeded variable, and changes the routers package to not create a nil *xorm.Engine that is immediately discarded by model.