go-common/app/interface/main/favorite/service/rpc_test.go
2019-04-22 18:49:16 +08:00

22 lines
354 B
Go

package service
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func Test_ArcsRPC(t *testing.T) {
Convey("ArcsRPC", t, func() {
var (
aids = []int64{123, 345}
)
res, err := s.ArcsRPC(context.TODO(), aids)
t.Logf("res:%+v", res)
t.Logf("err:%+v", err)
So(res, ShouldNotBeNil)
So(err, ShouldBeNil)
})
}