1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 03:11:30 +00:00

remove test ; because rows are returned in an unspecified order

This commit is contained in:
maxin[马鑫] 2016-04-13 21:04:46 +08:00
parent 81c6c898cf
commit 9ce6dc4cdf

View File

@ -970,7 +970,6 @@ func TestOne(t *testing.T) {
qs := dORM.QueryTable("user")
err := qs.One(&user)
throwFail(t, err)
throwFail(t, AssertIs(user.UserName, "slene"))
user = User{}
err = qs.OrderBy("Id").Limit(1).One(&user)