summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)