mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 13:10:55 +00:00
fix unit test
This commit is contained in:
parent
4aad313de7
commit
b6f7d30f9f
@ -2099,7 +2099,7 @@ func TestTransactionIsolationLevel(t *testing.T) {
|
|||||||
throwFail(t, AssertIs(id > 0, true))
|
throwFail(t, AssertIs(id > 0, true))
|
||||||
|
|
||||||
// o2 query tag table, no result
|
// o2 query tag table, no result
|
||||||
num, err := o2.QueryTable("tag").Filter("name", "test-transaction").Count()
|
num, err := to2.QueryTable("tag").Filter("name", "test-transaction").Count()
|
||||||
throwFail(t, err)
|
throwFail(t, err)
|
||||||
throwFail(t, AssertIs(num, 0))
|
throwFail(t, AssertIs(num, 0))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user