Create & Init Project...
This commit is contained in:
20
app/job/main/vip/service/order_test.go
Normal file
20
app/job/main/vip/service/order_test.go
Normal file
@ -0,0 +1,20 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
)
|
||||
|
||||
func Test_handlerPayOrder(t *testing.T) {
|
||||
Convey("handler pay order", t, func() {
|
||||
s.HandlerPayOrder()
|
||||
})
|
||||
}
|
||||
|
||||
func Test_autoRenews(t *testing.T) {
|
||||
Convey("autorenews ", t, func() {
|
||||
err := s.autoRenews()
|
||||
So(err, ShouldBeNil)
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user