go-common/app/interface/main/space/service/album_test.go

19 lines
349 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package service
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestService_AlbumIndex(t *testing.T) {
Convey("test album index", t, WithService(func(s *Service) {
mid := int64(883968)
ps := 10
data, err := s.AlbumIndex(context.Background(), mid, ps)
So(err, ShouldBeNil)
Printf("%+v", data)
}))
}