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.
20 lines
418 B
20 lines
418 B
package dao |
|
|
|
import ( |
|
"context" |
|
"fmt" |
|
"testing" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
// go test -test.v -test.run TestDaoNotGrantActOrders |
|
func TestDaoNotGrantActOrders(t *testing.T) { |
|
Convey("TestDaoNotGrantActOrders salary coupon", t, func() { |
|
res, err := d.NotGrantActOrders(context.Background(), "ele", 100) |
|
for _, v := range res { |
|
fmt.Println("res:", v) |
|
} |
|
So(err, ShouldBeNil) |
|
}) |
|
}
|
|
|