api_test.go 301 B

12345678910111213141516
  1. package usersuit
  2. import (
  3. "context"
  4. "testing"
  5. "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestDao_Group(t *testing.T) {
  8. convey.Convey("Group", t, func() {
  9. groups, err := d.Group(context.TODO(), "")
  10. convey.So(err, convey.ShouldBeNil)
  11. convey.So(groups, convey.ShouldNotBeEmpty)
  12. })
  13. }