dao_test.go 231 B

1234567891011121314151617
  1. package dao
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. var d *Dao
  8. func TestPing(t *testing.T) {
  9. Convey("TestPing: ", t, func() {
  10. err := d.Ping(context.TODO())
  11. So(err, ShouldBeNil)
  12. })
  13. }