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
@@ -120,7 +120,6 @@ mod tests {
use hammond_data::database;
use hammond_data::utils::get_download_folder;
use hammond_data::feed::*;
use hammond_data::{Episode, Source};
use hammond_data::dbqueries;
@@ -144,7 +143,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();
+1 -2
View File
@@ -81,7 +81,6 @@ pub fn get_pixbuf_from_path(pd: &PodcastCoverQuery, size: u32) -> Option<Pixbuf>
#[cfg(test)]
mod tests {
use hammond_data::Source;
use hammond_data::feed::index;
use hammond_data::dbqueries;
use super::*;
@@ -99,7 +98,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();