fixed broken tests

This commit is contained in:
kay.one
2013-09-03 23:15:35 -07:00
parent 16c9232b12
commit c90a96c2e0
4 changed files with 25 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ using NzbDrone.Core.MetadataSource;
using NzbDrone.Core.Rest;
using NzbDrone.Core.Test.Framework;
using NzbDrone.Core.Tv;
using NzbDrone.Test.Common;
using NzbDrone.Test.Common.Categories;
namespace NzbDrone.Core.Test.MetadataSourceTests
@@ -51,6 +52,8 @@ namespace NzbDrone.Core.Test.MetadataSourceTests
public void getting_details_of_invalid_series()
{
Assert.Throws<RestException>(() => Subject.GetSeriesInfo(Int32.MaxValue));
ExceptionVerification.ExpectedWarns(1);
}
private void ValidateSeries(Series series)