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