mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Getting model by invalid ID throws a more specific exception.
This commit is contained in:
@@ -84,7 +84,7 @@ namespace NzbDrone.Core.Test.Datastore
|
||||
[Test]
|
||||
public void getting_model_with_invalid_id_should_throw()
|
||||
{
|
||||
Assert.Throws<InvalidOperationException>(() => Subject.Get(12));
|
||||
Assert.Throws<ModelNotFoundException>(() => Subject.Get(12));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user