Fix test
This commit is contained in:
parent
d3c68587df
commit
24fc328780
|
@ -93,12 +93,10 @@ type EngineInterface interface {
|
||||||
SetCacher(string, core.Cacher)
|
SetCacher(string, core.Cacher)
|
||||||
SetColumnMapper(core.IMapper)
|
SetColumnMapper(core.IMapper)
|
||||||
SetConnMaxLifetime(time.Duration)
|
SetConnMaxLifetime(time.Duration)
|
||||||
SetColumnMapper(core.IMapper)
|
|
||||||
SetDefaultCacher(core.Cacher)
|
SetDefaultCacher(core.Cacher)
|
||||||
SetLogger(logger core.ILogger)
|
SetLogger(logger core.ILogger)
|
||||||
SetLogLevel(core.LogLevel)
|
SetLogLevel(core.LogLevel)
|
||||||
SetMapper(core.IMapper)
|
SetMapper(core.IMapper)
|
||||||
SetTableMapper(core.IMapper)
|
|
||||||
SetMaxOpenConns(int)
|
SetMaxOpenConns(int)
|
||||||
SetMaxIdleConns(int)
|
SetMaxIdleConns(int)
|
||||||
SetSchema(string)
|
SetSchema(string)
|
||||||
|
|
|
@ -12,6 +12,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
"xorm.io/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestUpdateMap(t *testing.T) {
|
func TestUpdateMap(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue