bilibili-backup/app/interface/main/activity/dao/like/achievements_test.go
2019-04-22 02:59:20 +00:00

24 lines
512 B
Go

package like
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestLikeRawActLikeAchieves(t *testing.T) {
convey.Convey("RawActLikeAchieves", t, func(ctx convey.C) {
var (
c = context.Background()
sid = int64(10805)
)
ctx.Convey("When everything goes positive", func(ctx convey.C) {
_, err := d.RawActLikeAchieves(c, sid)
ctx.Convey("Then err should be nil.res should not be nil.", func(ctx convey.C) {
ctx.So(err, convey.ShouldBeNil)
})
})
})
}