1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-02 13:53:27 +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" "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()