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:
parent
31f7524dae
commit
1f0a65f0a2
@ -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
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user