dao_test.go 258 B

123456789101112131415161718
  1. package dao
  2. import (
  3. "testing"
  4. . "github.com/smartystreets/goconvey/convey"
  5. )
  6. func Test_Dao(t *testing.T) {
  7. var err error
  8. d := New(nil)
  9. Convey("set cache", t, func() {
  10. PromError("")
  11. PromInfo("")
  12. err = d.SendSMS("")
  13. So(err, ShouldBeNil)
  14. })
  15. }