Commit 76f2ea54 authored by 袁兴强's avatar 袁兴强 Committed by vipwzw

add ticket unit test

parent 914e819d
......@@ -131,6 +131,8 @@ func TestTicketMap(t *testing.T) {
c.setTicket(nil, nil)
assert.Equal(t, c.getTicketCount(), int64(0))
_, err := c.Query_GetTicketCount(&types.ReqNil{})
assert.Nil(t, err)
}
func TestProcEvent(t *testing.T) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment