activity_test.go 250 B

123456789101112131415
  1. package dao
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func Test_LikeSync(t *testing.T) {
  8. Convey("work", t, WithDao(func(d *Dao) {
  9. err := d.LikeSync(context.Background(), 1, 20)
  10. So(err, ShouldBeNil)
  11. }))
  12. }