hammond_data::Feed: general cleanup of no longer needed stuff.

This commit is contained in:
Jordan Petridis
2018-01-15 11:03:40 +02:00
parent 10345ffda7
commit 3358fcd0b3
7 changed files with 26 additions and 36 deletions
+1 -2
View File
@@ -217,7 +217,6 @@ pub fn cache_image(pd: &PodcastCoverQuery) -> Option<String> {
mod tests {
use super::*;
use hammond_data::Source;
use hammond_data::feed::index;
use hammond_data::dbqueries;
#[test]
@@ -234,7 +233,7 @@ mod tests {
// Convert Source it into a Feed and index it
let feed = source.into_feed(true).unwrap();
index(&feed);
feed.index().unwrap();
// Get the Podcast
let pd = dbqueries::get_podcast_from_source_id(sid).unwrap().into();