added more tests for seriesprovider

This commit is contained in:
kay.one 2011-04-04 22:30:13 -07:00
parent b21bdbe41f
commit 8a3fe0f14e
10 changed files with 90 additions and 34 deletions

View file

@ -121,7 +121,7 @@ namespace NzbDrone.Web.Controllers
var dataVal = _tvDbProvider.SearchSeries(searchString);
var bestResult = _tvDbProvider.GetBestMatch(dataVal.ToList(), searchString);
return new SelectList(dataVal, "Id", "SeriesName", bestResult);
return new SelectList(dataVal, "Id", "SeriesName", dataVal[0].Id);
}
}