mirror of
https://github.com/Radarr/Radarr
synced 2024-12-21 23:42:23 +00:00
fixed issues with test
This commit is contained in:
parent
c8faab9928
commit
d63b3ca59d
1 changed files with 1 additions and 2 deletions
|
@ -27,6 +27,7 @@ public void Setup()
|
|||
{
|
||||
_movie = Builder<Movie>.CreateNew()
|
||||
.With(s => s.Path = @"C:\Test\Movies\Casablanca".AsOsAgnostic())
|
||||
.And(s => s.QualityProfileIds = new List<int> { 1 })
|
||||
.Build();
|
||||
|
||||
_localMovie = new LocalMovie
|
||||
|
@ -55,8 +56,6 @@ public void should_accepted_if_download_client_item_is_null()
|
|||
[Test]
|
||||
public void should_accept_if_episode_does_not_have_file()
|
||||
{
|
||||
_movie.MovieFiles = new Core.Datastore.LazyLoaded<List<Core.MediaFiles.MovieFile>>();
|
||||
|
||||
Subject.IsSatisfiedBy(_localMovie, _downloadClientItem).All(x => x.Accepted).Should().BeTrue();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue