Files

17 lines
306 B
Go
Raw Permalink Normal View History

2019-04-22 20:46:32 +08:00
package dao
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDaoSecret(t *testing.T) {
convey.Convey("Secret", t, func() {
res, err := d.Secret(context.TODO(), "19e7f5b7d8ad531b")
convey.So(err, convey.ShouldBeNil)
convey.So(res, convey.ShouldNotBeNil)
})
}