go-common/app/interface/live/push-live/dao/switch_test.go

20 lines
351 B
Go
Raw Normal View History

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