bilibili-backup/app/service/openplatform/ticket-item/dao/promotion_test.go
2019-04-22 02:59:20 +00:00

18 lines
277 B
Go

package dao
import (
"testing"
. "github.com/smartystreets/goconvey/convey"
)
// TestHasPromotion
func TestDao_HasPromotion(t *testing.T) {
Convey("HasPromotion", t, func() {
once.Do(startService)
res := d.HasPromotion([]int64{78}, 1)
So(res, ShouldBeFalse)
})
}