mirror of
https://github.com/Sonarr/Sonarr
synced 2026-01-26 09:22:40 +01:00
Fixed broken DeleteEpisodeFileFixture tests
This commit is contained in:
parent
968d8159a6
commit
223ccb5a73
1 changed files with 3 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
using System.IO;
|
||||
using System.IO;
|
||||
using FizzWare.NBuilder;
|
||||
using Moq;
|
||||
using NUnit.Framework;
|
||||
|
|
@ -63,9 +63,8 @@ private void GivenSeriesFolderExists()
|
|||
[Test]
|
||||
public void should_throw_if_root_folder_does_not_exist()
|
||||
{
|
||||
ExceptionVerification.ExpectedWarns(1);
|
||||
|
||||
Assert.Throws<NzbDroneClientException>(() => Subject.DeleteEpisodeFile(_series, _episodeFile));
|
||||
ExceptionVerification.ExpectedWarns(1);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
@ -73,9 +72,8 @@ public void should_should_throw_if_root_folder_is_empty()
|
|||
{
|
||||
GivenRootFolderExists();
|
||||
|
||||
ExceptionVerification.ExpectedWarns(1);
|
||||
|
||||
Assert.Throws<NzbDroneClientException>(() => Subject.DeleteEpisodeFile(_series, _episodeFile));
|
||||
ExceptionVerification.ExpectedWarns(1);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
|
|||
Loading…
Reference in a new issue