More unit tests around the login and also the core Plex Checker

This commit is contained in:
tidusjar 2016-08-12 14:41:34 +01:00
parent 4eff175424
commit 13324cac14
7 changed files with 690 additions and 468 deletions

View file

@ -673,6 +673,7 @@ namespace PlexRequests.UI.Modules
}
}
//TODO this is not working correctly.
var episodes = await GetEpisodes(showId);
var availableEpisodes = episodes.Where(x => x.Requested).ToList();
var availble = availableEpisodes.Select(a => new EpisodesModel { EpisodeNumber = a.EpisodeNumber, SeasonNumber = a.SeasonNumber }).ToList();