mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 02:51:28 +00:00
remove test ; because rows are returned in an unspecified order
This commit is contained in:
parent
81c6c898cf
commit
9ce6dc4cdf
@ -970,7 +970,6 @@ func TestOne(t *testing.T) {
|
|||||||
qs := dORM.QueryTable("user")
|
qs := dORM.QueryTable("user")
|
||||||
err := qs.One(&user)
|
err := qs.One(&user)
|
||||||
throwFail(t, err)
|
throwFail(t, err)
|
||||||
throwFail(t, AssertIs(user.UserName, "slene"))
|
|
||||||
|
|
||||||
user = User{}
|
user = User{}
|
||||||
err = qs.OrderBy("Id").Limit(1).One(&user)
|
err = qs.OrderBy("Id").Limit(1).One(&user)
|
||||||
|
Loading…
Reference in New Issue
Block a user