aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/daemon.rs1
-rw-r--r--tests/queue.rs2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/daemon.rs b/tests/daemon.rs
index e5cb270..01241fd 100644
--- a/tests/daemon.rs
+++ b/tests/daemon.rs
@@ -26,6 +26,7 @@ fn test_scrobble_state_clear() {
26 title: Some("Test".into()), 26 title: Some("Test".into()),
27 artist: Some("Artist".into()), 27 artist: Some("Artist".into()),
28 album: None, 28 album: None,
29 track_number: None,
29 duration_secs: Some(200.0), 30 duration_secs: Some(200.0),
30 is_stream: false, 31 is_stream: false,
31 }; 32 };
diff --git a/tests/queue.rs b/tests/queue.rs
index 59311d2..2eaa6f3 100644
--- a/tests/queue.rs
+++ b/tests/queue.rs
@@ -14,6 +14,7 @@ fn track(path: &str, title: Option<&str>, artist: Option<&str>, album: Option<&s
14 title: title.map(|s| s.to_string()), 14 title: title.map(|s| s.to_string()),
15 artist: artist.map(|s| s.to_string()), 15 artist: artist.map(|s| s.to_string()),
16 album: album.map(|s| s.to_string()), 16 album: album.map(|s| s.to_string()),
17 track_number: None,
17 duration_secs: None, 18 duration_secs: None,
18 is_stream: false, 19 is_stream: false,
19 } 20 }
@@ -25,6 +26,7 @@ fn track_no_meta(path: &str) -> Track {
25 title: None, 26 title: None,
26 artist: None, 27 artist: None,
27 album: None, 28 album: None,
29 track_number: None,
28 duration_secs: None, 30 duration_secs: None,
29 is_stream: false, 31 is_stream: false,
30 } 32 }