1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 19:30:55 +00:00

fix the orm test

This commit is contained in:
astaxie 2016-03-10 22:21:21 +08:00
parent 31f7524dae
commit 1f0a65f0a2
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ after_script:
- rm -rf ./res/var/* - rm -rf ./res/var/*
script: script:
- go vet -x ./... - go vet -x ./...
- $HOME/gopath/bin/golint ./... | grep -v "should be" - $HOME/gopath/bin/golint ./...
- go test -v ./... - go test -v ./...
notifications: notifications:
webhooks: https://hooks.pubu.im/services/z7m9bvybl3rgtg9 webhooks: https://hooks.pubu.im/services/z7m9bvybl3rgtg9

View File

@ -1943,7 +1943,7 @@ func TestInLine(t *testing.T) {
throwFail(t, AssertIs(id, 1)) throwFail(t, AssertIs(id, 1))
il := NewInLine() il := NewInLine()
il.Id = 1 il.ID = 1
err = dORM.Read(il) err = dORM.Read(il)
throwFail(t, err) throwFail(t, err)