mcn_test.go 631 B

123456789101112131415161718192021222324252627
  1. package service
  2. import (
  3. "testing"
  4. "github.com/smartystreets/goconvey/convey"
  5. )
  6. func TestServiceUpMcnSignStateCron(t *testing.T) {
  7. convey.Convey("UpMcnSignStateCron", t, func(ctx convey.C) {
  8. ctx.Convey("When everything goes positive", func(ctx convey.C) {
  9. s.UpMcnSignStateCron()
  10. ctx.Convey("No return values", func(ctx convey.C) {
  11. })
  12. })
  13. })
  14. }
  15. func TestServiceUpExpirePayCron(t *testing.T) {
  16. convey.Convey("UpExpirePayCron", t, func(ctx convey.C) {
  17. ctx.Convey("When everything goes positive", func(ctx convey.C) {
  18. s.UpExpirePayCron()
  19. ctx.Convey("No return values", func(ctx convey.C) {
  20. })
  21. })
  22. })
  23. }