15 lines
257 B
Go
15 lines
257 B
Go
|
package manager
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"github.com/smartystreets/goconvey/convey"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func Test_User(t *testing.T) {
|
||
|
convey.Convey("User", t, WithDao(func(d *Dao) {
|
||
|
_, err := d.User(context.TODO(), 1)
|
||
|
convey.So(err, convey.ShouldBeNil)
|
||
|
}))
|
||
|
}
|