mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 22:20:54 +00:00
orm_test: Skip relation test
This commit is contained in:
parent
c841a77ad6
commit
09b7457ac6
@ -26,8 +26,6 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/juju/errors"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ = os.PathSeparator
|
var _ = os.PathSeparator
|
||||||
@ -135,7 +133,6 @@ func throwFail(t *testing.T, err error, args ...interface{}) {
|
|||||||
}
|
}
|
||||||
con += " " + strings.Join(parts, ", ")
|
con += " " + strings.Join(parts, ", ")
|
||||||
}
|
}
|
||||||
t.Error(errors.ErrorStack(err))
|
|
||||||
t.Error(con)
|
t.Error(con)
|
||||||
t.Fail()
|
t.Fail()
|
||||||
}
|
}
|
||||||
@ -175,7 +172,7 @@ func TestSyncDb(t *testing.T) {
|
|||||||
RegisterModel(new(UserBig))
|
RegisterModel(new(UserBig))
|
||||||
RegisterModel(new(PostTags))
|
RegisterModel(new(PostTags))
|
||||||
|
|
||||||
err := RunSyncdb("default", true, true)
|
err := RunSyncdb("default", true, false)
|
||||||
throwFail(t, err)
|
throwFail(t, err)
|
||||||
|
|
||||||
modelCache.clean()
|
modelCache.clean()
|
||||||
|
Loading…
Reference in New Issue
Block a user