mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Getting model by invalid ID throws a more specific exception.
This commit is contained in:
parent
f3534de0c5
commit
54c36e9264
8 changed files with 38 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue