diff options
Diffstat (limited to 'bilibili/room_status_test.go')
-rw-r--r-- | bilibili/room_status_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bilibili/room_status_test.go b/bilibili/room_status_test.go index f97cf51..dde99f7 100644 --- a/bilibili/room_status_test.go +++ b/bilibili/room_status_test.go @@ -1,7 +1,7 @@ package bilibili import ( - "github.com/keuin/slbr/common" + testing2 "github.com/keuin/slbr/common/testing" "github.com/keuin/slbr/logging" "log" "testing" @@ -9,7 +9,7 @@ import ( func TestBilibili_GetRoomPlayInfo(t *testing.T) { // get an online live room for testing - liveList, err := common.GetLiveListForGuestUser() + liveList, err := testing2.GetLiveListForGuestUser() if err != nil { t.Fatalf("cannot get live list for testing: %v", err) } @@ -17,7 +17,7 @@ func TestBilibili_GetRoomPlayInfo(t *testing.T) { if len(lives) <= 0 { t.Fatalf("no live for guest available") } - roomId := common.RoomId(lives[0].Roomid) + roomId := lives[0].Roomid logger := log.Default() bi := NewBilibili(logging.NewWrappedLogger(logger, "test-logger")) |