mirror of
https://github.com/AynaLivePlayer/miaosic.git
synced 2026-03-15 13:33:17 +08:00
update test
This commit is contained in:
@@ -24,4 +24,6 @@ func TestBilibili_GetMusic(t *testing.T) {
|
||||
urls, err := api.GetMediaUrl(meta, miaosic.QualityAny)
|
||||
require.NoError(t, err)
|
||||
require.NotEmpty(t, urls)
|
||||
require.NotEmpty(t, urls[0].Url)
|
||||
t.Log(urls[0].Url)
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ func TestKuwo_GetMusic(t *testing.T) {
|
||||
func TestKuwo_GetMusic2(t *testing.T) {
|
||||
meta := miaosic.MetaData{
|
||||
Provider: api.GetName(),
|
||||
Identifier: "6510096",
|
||||
Identifier: "6536164",
|
||||
}
|
||||
urls, err := api.GetMediaUrl(meta, miaosic.QualityAny)
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user