diff options
Diffstat (limited to 'models/unit_tests.go')
-rw-r--r-- | models/unit_tests.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/unit_tests.go b/models/unit_tests.go index cefdae2cd6..5a145fa2c0 100644 --- a/models/unit_tests.go +++ b/models/unit_tests.go @@ -103,7 +103,7 @@ func CreateTestEngine(fixturesDir string) error { return err } x.SetMapper(names.GonicMapper{}) - if err = x.StoreEngine("InnoDB").Sync2(tables...); err != nil { + if err = syncTables(); err != nil { return err } switch os.Getenv("GITEA_UNIT_TESTS_VERBOSE") { |