mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 05:58:29 -05:00
16 lines
250 B
Go
16 lines
250 B
Go
|
|
package dao
|
||
|
|
|
||
|
|
import (
|
||
|
|
"context"
|
||
|
|
"testing"
|
||
|
|
|
||
|
|
. "github.com/smartystreets/goconvey/convey"
|
||
|
|
)
|
||
|
|
|
||
|
|
func Test_LikeSync(t *testing.T) {
|
||
|
|
Convey("work", t, WithDao(func(d *Dao) {
|
||
|
|
err := d.LikeSync(context.Background(), 1, 20)
|
||
|
|
So(err, ShouldBeNil)
|
||
|
|
}))
|
||
|
|
}
|