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

fix unit test

This commit is contained in:
jianzhiyao 2020-07-20 19:10:57 +08:00
parent 4aad313de7
commit b6f7d30f9f

View File

@ -2099,7 +2099,7 @@ func TestTransactionIsolationLevel(t *testing.T) {
throwFail(t, AssertIs(id > 0, true))
// 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, AssertIs(num, 0))