Getting model by invalid ID throws a more specific exception.

This commit is contained in:
Keivan Beigi 2013-07-09 15:06:30 -07:00
commit 54c36e9264
8 changed files with 38 additions and 11 deletions

View file

@ -1,8 +1,6 @@
using System.IO;
using System.Net;
using System.Net;
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Api.RootFolders;
using NzbDrone.Api.Series;
using System.Linq;
@ -60,10 +58,8 @@ namespace NzbDrone.Integration.Test
}
[Test]
[Ignore]
public void invalid_id_should_return_404()
{
//TODO: fix
Series.Get(99, HttpStatusCode.NotFound);
}
}