mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 19:20:54 +00:00
fix the beego ORM test
This commit is contained in:
parent
a91e2e9950
commit
79b66ef053
@ -2144,7 +2144,7 @@ func TestUintPk(t *testing.T) {
|
||||
throwFail(t, AssertIs(u.Name, name))
|
||||
|
||||
nu := &UintPk{ID: 8}
|
||||
created, pk, err = dORM.ReadOrCreate(nu, "ID")
|
||||
created, pk, err := dORM.ReadOrCreate(nu, "ID")
|
||||
throwFail(t, err)
|
||||
throwFail(t, AssertIs(created, false))
|
||||
throwFail(t, AssertIs(nu.ID, u.ID))
|
||||
|
Loading…
Reference in New Issue
Block a user