cp_test.go 404 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package test

import (
	"git.hilo.cn/hilo-common/domain"
	"git.hilo.cn/hilo-common/rpc"
	"testing"
)

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)
}