summaryrefslogtreecommitdiff
path: root/bilibili
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-07-29 20:39:13 +0800
committerKeuin <[email protected]>2023-07-29 20:39:13 +0800
commit7a8f91d2297d5f43378a5f181ae34aaef6a82367 (patch)
tree53d1f007adc21106ce2d7fa6de45b62465374393 /bilibili
parentc4dbd4a7b2ad86fcb0220a4e2ffdae68d0d00103 (diff)
Get buvid before running testbugfix-ci-test
Diffstat (limited to 'bilibili')
-rw-r--r--bilibili/play_url_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/bilibili/play_url_test.go b/bilibili/play_url_test.go
index 1ec0729..cc270db 100644
--- a/bilibili/play_url_test.go
+++ b/bilibili/play_url_test.go
@@ -21,6 +21,10 @@ func TestBilibili_GetStreamingInfo(t *testing.T) {
logger := log.Default()
bi := NewBilibili(logging.NewWrappedLogger(logger, "test-logger"))
+ _, err = bi.GetBUVID()
+ if err != nil {
+ t.Fatalf("GetBUVID: %v", err)
+ }
info, err := bi.GetStreamingInfo(roomId)
if err != nil {
t.Fatalf("GetStreamingInfo: %v", err)