Commit 11b97721 authored by hujiebin's avatar hujiebin

feat:单元测试

parent 9c426cb6
package test
import (
"fmt"
"git.hilo.cn/hilo-common/_const/enum/timezone_e"
"git.hilo.cn/hilo-common/domain"
"git.hilo.cn/hilo-common/resource/mysql"
"git.hilo.cn/hilo-common/rpc"
......@@ -13,6 +15,6 @@ func TestMGetGroupPower(t *testing.T) {
}
func TestMGetUserOnMic(t *testing.T) {
res, err := rpc.MGetUserOnMic(domain.CreateModelNil(), "2023-03-16", []mysql.ID{2781, 4549, 4556, 4559})
println(res, err)
res, err := rpc.MGetUserOnMic(domain.CreateModelNil(), "2023-04-11", []mysql.ID{4556, 4549}, timezone_e.TimezoneKSA)
fmt.Printf("%+v,err:%v", res, err)
}
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