mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 21:01:31 +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/*
|
||||
script:
|
||||
- go vet -x ./...
|
||||
- $HOME/gopath/bin/golint ./... | grep -v "should be"
|
||||
- $HOME/gopath/bin/golint ./...
|
||||
- go test -v ./...
|
||||
notifications:
|
||||
webhooks: https://hooks.pubu.im/services/z7m9bvybl3rgtg9
|
||||
|
@ -1943,7 +1943,7 @@ func TestInLine(t *testing.T) {
|
||||
throwFail(t, AssertIs(id, 1))
|
||||
|
||||
il := NewInLine()
|
||||
il.Id = 1
|
||||
il.ID = 1
|
||||
err = dORM.Read(il)
|
||||
throwFail(t, err)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user