mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 03:01: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")
|
||||
err := qs.One(&user)
|
||||
throwFail(t, err)
|
||||
throwFail(t, AssertIs(user.UserName, "slene"))
|
||||
|
||||
user = User{}
|
||||
err = qs.OrderBy("Id").Limit(1).One(&user)
|
||||
|
Loading…
Reference in New Issue
Block a user