mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
More unit tests around the login and also the core Plex Checker
This commit is contained in:
parent
4eff175424
commit
13324cac14
7 changed files with 690 additions and 468 deletions
|
@ -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();
|
||||
|
|
|
@ -166,7 +166,7 @@ namespace PlexRequests.UI.Modules
|
|||
return Response.AsRedirect(uri.ToString()); // TODO Check this
|
||||
}
|
||||
|
||||
var landingSettings = LandingPageSettings.GetSettings();
|
||||
var landingSettings = await LandingPageSettings.GetSettingsAsync();
|
||||
|
||||
if (landingSettings.Enabled)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue