1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-22 07:52:34 +00:00

fixed issues with test

This commit is contained in:
Robin Dadswell 2024-11-19 15:29:49 +00:00
parent c8faab9928
commit d63b3ca59d

View file

@ -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();
}