go-common/app/interface/main/dm2/rpc/client/mask_test.go

24 lines
411 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
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)
})
}