models: fix xorm variable clobber (#12231)
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.tokarchuk/v1.17
parent
48ad76c25e
commit
b49a195839
Loading…
Reference in new issue