diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/pr/checkout.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/pr/checkout.go b/contrib/pr/checkout.go index 880c029510..a837cb5812 100644 --- a/contrib/pr/checkout.go +++ b/contrib/pr/checkout.go @@ -91,8 +91,7 @@ func runPR() { routers.NewServices() //x, err = xorm.NewEngine("sqlite3", "file::memory:?cache=shared") - var helper testfixtures.Helper - helper = &testfixtures.SQLite{} + var helper testfixtures.Helper = &testfixtures.SQLite{} models.NewEngine(func(_ *xorm.Engine) error { return nil }) |