You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
281 B

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)
})
}