mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-07 21:48:31 -05:00
22 lines
410 B
Go
22 lines
410 B
Go
|
|
package service
|
||
|
|
|
||
|
|
import (
|
||
|
|
"context"
|
||
|
|
"testing"
|
||
|
|
|
||
|
|
. "github.com/smartystreets/goconvey/convey"
|
||
|
|
)
|
||
|
|
|
||
|
|
func TestService_ElecShow(t *testing.T) {
|
||
|
|
Convey("test elec ElecShow", t, WithService(func(s *Service) {
|
||
|
|
var (
|
||
|
|
mid int64 = 27515256
|
||
|
|
aid int64 = 5464686
|
||
|
|
loginID int64
|
||
|
|
)
|
||
|
|
res, err := s.ElecShow(context.Background(), mid, aid, loginID)
|
||
|
|
So(err, ShouldBeNil)
|
||
|
|
So(res, ShouldNotBeNil)
|
||
|
|
}))
|
||
|
|
}
|