mirror of
https://github.com/Radarr/Radarr
synced 2025-12-06 16:32:36 +01: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()
|
_movie = Builder<Movie>.CreateNew()
|
||||||
.With(s => s.Path = @"C:\Test\Movies\Casablanca".AsOsAgnostic())
|
.With(s => s.Path = @"C:\Test\Movies\Casablanca".AsOsAgnostic())
|
||||||
|
.And(s => s.QualityProfileIds = new List<int> { 1 })
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
_localMovie = new LocalMovie
|
_localMovie = new LocalMovie
|
||||||
|
|
@ -55,8 +56,6 @@ public void should_accepted_if_download_client_item_is_null()
|
||||||
[Test]
|
[Test]
|
||||||
public void should_accept_if_episode_does_not_have_file()
|
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();
|
Subject.IsSatisfiedBy(_localMovie, _downloadClientItem).All(x => x.Accepted).Should().BeTrue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue