go-common/app/interface/live/push-live/dao/switch_test.go
2019-04-22 18:49:16 +08:00

20 lines
351 B
Go

package dao
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func Test_switch(t *testing.T) {
initd()
Convey("Parse Json To Struct", t, func() {
target := int64(27515316)
fs, err := d.GetFansBySwitch(context.TODO(), target)
t.Logf("the result included(%v) err(%v)", fs, err)
So(err, ShouldEqual, nil)
})
}