added
test
This commit is contained in:
parent
05ab84b516
commit
8980fd18bc
@ -7,6 +7,20 @@ import (
|
||||
"io/ioutil"
|
||||
)
|
||||
|
||||
func TestMemberS_read(t *testing.T) {
|
||||
|
||||
|
||||
si := &ServerInput{}
|
||||
|
||||
si.Target = "MemberService"
|
||||
si.Method = "read"
|
||||
|
||||
|
||||
si.Params = append(si.Params, "{\"id\":1}")
|
||||
|
||||
callRPC(t, si)
|
||||
}
|
||||
|
||||
func TestTarDis_saveAllTarget(t *testing.T) {
|
||||
|
||||
contents,_ := ioutil.ReadFile("../dh.json")
|
||||
|
Loading…
x
Reference in New Issue
Block a user