1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-23 07:40:49 +00:00

orm_test: Skip relation test

This commit is contained in:
ngaut 2015-09-17 15:41:39 +08:00
parent c841a77ad6
commit 09b7457ac6

View File

@ -26,8 +26,6 @@ import (
"strings"
"testing"
"time"
"github.com/juju/errors"
)
var _ = os.PathSeparator
@ -135,7 +133,6 @@ func throwFail(t *testing.T, err error, args ...interface{}) {
}
con += " " + strings.Join(parts, ", ")
}
t.Error(errors.ErrorStack(err))
t.Error(con)
t.Fail()
}
@ -175,7 +172,7 @@ func TestSyncDb(t *testing.T) {
RegisterModel(new(UserBig))
RegisterModel(new(PostTags))
err := RunSyncdb("default", true, true)
err := RunSyncdb("default", true, false)
throwFail(t, err)
modelCache.clean()