summaryrefslogtreecommitdiffstats
path: root/models/unit_tests.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/unit_tests.go')
-rw-r--r--models/unit_tests.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/unit_tests.go b/models/unit_tests.go
index b2c487ddcd..1b27eebcd0 100644
--- a/models/unit_tests.go
+++ b/models/unit_tests.go
@@ -20,8 +20,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/unknwon/com"
"gopkg.in/testfixtures.v2"
- "xorm.io/core"
"xorm.io/xorm"
+ "xorm.io/xorm/names"
)
// NonexistentID an ID that will never exist
@@ -92,7 +92,7 @@ func CreateTestEngine(fixturesDir string) error {
if err != nil {
return err
}
- x.SetMapper(core.GonicMapper{})
+ x.SetMapper(names.GonicMapper{})
if err = x.StoreEngine("InnoDB").Sync2(tables...); err != nil {
return err
}