aboutsummaryrefslogtreecommitdiffstats
path: root/models/unit_tests.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/unit_tests.go')
-rw-r--r--models/unit_tests.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/models/unit_tests.go b/models/unit_tests.go
index 1b27eebcd0..9266b3a658 100644
--- a/models/unit_tests.go
+++ b/models/unit_tests.go
@@ -19,7 +19,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/unknwon/com"
- "gopkg.in/testfixtures.v2"
"xorm.io/xorm"
"xorm.io/xorm/names"
)
@@ -101,7 +100,7 @@ func CreateTestEngine(fixturesDir string) error {
x.ShowSQL(true)
}
- return InitFixtures(&testfixtures.SQLite{}, fixturesDir)
+ return InitFixtures(fixturesDir)
}
func removeAllWithRetry(dir string) error {