tests: fix music_radio_not_found
This commit is contained in:
parent
b54939b02e
commit
f734d8a202
1 changed files with 1 additions and 2 deletions
|
|
@ -2294,8 +2294,7 @@ fn music_radio_artist(rp: RustyPipe) {
|
||||||
|
|
||||||
#[rstest]
|
#[rstest]
|
||||||
fn music_radio_not_found(rp: RustyPipe) {
|
fn music_radio_not_found(rp: RustyPipe) {
|
||||||
let err =
|
let err = tokio_test::block_on(rp.query().music_radio("RDEM_foo")).unwrap_err();
|
||||||
tokio_test::block_on(rp.query().music_radio("RDEM_Ktu-TilkxtLvmc9wXZZZZ")).unwrap_err();
|
|
||||||
|
|
||||||
assert!(
|
assert!(
|
||||||
matches!(err, Error::Extraction(ExtractionError::NotFound { .. })),
|
matches!(err, Error::Extraction(ExtractionError::NotFound { .. })),
|
||||||
|
|
|
||||||
Reference in a new issue