fixed few more broken tests.

This commit is contained in:
kay.one 2013-03-27 23:49:38 -07:00
commit 2008b54f5d
12 changed files with 64 additions and 105 deletions

View file

@ -25,7 +25,7 @@ namespace NzbDrone.Core.Tv
public IList<int> GetSeasonNumbers(int seriesId)
{
return Query.Where(c => c.SeriesId == seriesId).Select(c => c.SeriesId).ToList();
return Query.Where(c => c.SeriesId == seriesId).Select(c => c.SeasonNumber).ToList();
}
public Season Get(int seriesId, int seasonNumber)