mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
added more tests for seriesprovider
This commit is contained in:
parent
b21bdbe41f
commit
8a3fe0f14e
10 changed files with 90 additions and 34 deletions
|
@ -59,8 +59,8 @@ namespace NzbDrone.Core.Providers
|
|||
public bool QualityWanted(int seriesId, QualityTypes quality)
|
||||
{
|
||||
var series = _sonioRepo.Single<Series>(seriesId);
|
||||
var profile = _quality.Find(series.QualityProfileId);
|
||||
|
||||
var profile = _quality.Find(series.QualityProfileId);
|
||||
return profile.Allowed.Contains(quality);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue