manager_test.go 257 B

1234567891011121314
  1. package manager
  2. import (
  3. "context"
  4. "github.com/smartystreets/goconvey/convey"
  5. "testing"
  6. )
  7. func Test_User(t *testing.T) {
  8. convey.Convey("User", t, WithDao(func(d *Dao) {
  9. _, err := d.User(context.TODO(), 1)
  10. convey.So(err, convey.ShouldBeNil)
  11. }))
  12. }