Commit 1f0a65f0 authored by astaxie's avatar astaxie

fix the orm test

parent 31f7524d
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment