Fix sqlite test (#1887)
Fix bug Reviewed-on: https://gitea.com/xorm/xorm/pulls/1887 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
2142e31d95
commit
ee78664413
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue