Fix sqlite test

This commit is contained in:
Lunny Xiao 2021-04-08 21:07:38 +08:00
parent 21881d8b84
commit 3dcd6ed5e9
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 4 additions and 0 deletions

View File

@ -189,6 +189,10 @@ func TestSetSchema(t *testing.T) {
}
func TestImport(t *testing.T) {
if testEngine.Dialect().URI().DBType != schemas.MYSQL {
t.SkipNow()
return
}
sess := testEngine.NewSession()
defer sess.Close()
assert.NoError(t, sess.Begin())