This commit is contained in:
Lunny Xiao 2020-03-12 23:54:27 +08:00
parent 6c7d7b34ea
commit af9b1378e5
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 6 additions and 0 deletions

View File

@ -9,12 +9,18 @@ import (
"github.com/stretchr/testify/assert"
"xorm.io/xorm/log"
"xorm.io/xorm/schemas"
)
func TestEngineGroup(t *testing.T) {
assert.NoError(t, prepareEngine())
master := testEngine.(*Engine)
if master.Dialect().URI().DBType == schemas.SQLITE {
t.Skip()
return
}
eg, err := NewEngineGroup(master, []*Engine{master})
assert.NoError(t, err)