diff --git a/test/cp_test.go b/test/cp_test.go index ccf61b696b652a614455647033ae8b7cabf82841..dbe4ff0c73b342ad54f032e17e6fd581f9156f1a 100644 --- a/test/cp_test.go +++ b/test/cp_test.go @@ -10,3 +10,8 @@ func TestGetCpRelation(t *testing.T) { cpRelation, err := rpc.GetUserCpRelation(domain.CreateModelNil(), 7642) t.Logf("%v-%v", cpRelation, err) } + +func TestGetCpPairs(t *testing.T) { + cpPairs, err := rpc.MGetUserCpPairs(domain.CreateModelNil(), []uint64{7642, 4549}) + t.Logf("%v-%v", cpPairs, err) +}