go-common/app/interface/main/dm2/rpc/client/mask_test.go
2019-04-22 18:49:16 +08:00

24 lines
411 B
Go

package client
import (
"context"
"testing"
"go-common/app/interface/main/dm2/model"
. "github.com/smartystreets/goconvey/convey"
)
func TestMask(t *testing.T) {
var (
cid int64 = 632
)
Convey("test mask", t, func() {
arg := &model.ArgMask{Cid: cid, Plat: 0}
res, err := svr.Mask(context.TODO(), arg)
So(err, ShouldBeNil)
So(res, ShouldNotBeEmpty)
t.Logf("===============%+v", res)
})
}