mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-03-14 05:46:26 -05:00
18 lines
305 B
Go
18 lines
305 B
Go
|
|
package dao
|
||
|
|
|
||
|
|
import (
|
||
|
|
"context"
|
||
|
|
. "github.com/smartystreets/goconvey/convey"
|
||
|
|
"testing"
|
||
|
|
)
|
||
|
|
|
||
|
|
func TestDao_PayCenterWallet(t *testing.T) {
|
||
|
|
Convey("normal", t, func() {
|
||
|
|
mid := int64(1)
|
||
|
|
w, e := testDao.PayCenterWallet(context.Background(), mid, "android")
|
||
|
|
So(e, ShouldBeNil)
|
||
|
|
t.Logf("%+v", w)
|
||
|
|
|
||
|
|
})
|
||
|
|
}
|