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

18 lines
281 B
Go

package dao
import (
"testing"
. "github.com/smartystreets/goconvey/convey"
)
// TestStockChanged
func TestDao_StockChanged(t *testing.T) {
Convey("StockChanged", t, func() {
once.Do(startService)
res := d.StockChanged([]int64{1015, 1016})
So(res, ShouldBeTrue)
})
}