mirror of
https://github.com/Radarr/Radarr
synced 2025-01-04 06:23:32 +00:00
Fix broken build due to NetImportSearchService tests
This commit is contained in:
parent
b2b0efe4ed
commit
9b052101ab
1 changed files with 6 additions and 6 deletions
|
@ -280,7 +280,7 @@ public void should_add_new_movies_from_single_list_to_library()
|
|||
Subject.Execute(_command);
|
||||
|
||||
Mocker.GetMock<IAddMovieService>()
|
||||
.Verify(v => v.AddMovies(It.Is<List<Movie>>(s => s.Count == 5)), Times.Once());
|
||||
.Verify(v => v.AddMovies(It.Is<List<Movie>>(s => s.Count == 5), true), Times.Once());
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -294,7 +294,7 @@ public void should_add_new_movies_from_multiple_list_to_library()
|
|||
Subject.Execute(_command);
|
||||
|
||||
Mocker.GetMock<IAddMovieService>()
|
||||
.Verify(v => v.AddMovies(It.Is<List<Movie>>(s => s.Count == 8)), Times.Once());
|
||||
.Verify(v => v.AddMovies(It.Is<List<Movie>>(s => s.Count == 8), true), Times.Once());
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -308,7 +308,7 @@ public void should_add_new_movies_from_enabled_lists_to_library()
|
|||
Subject.Execute(_command);
|
||||
|
||||
Mocker.GetMock<IAddMovieService>()
|
||||
.Verify(v => v.AddMovies(It.Is<List<Movie>>(s => s.Count == 5)), Times.Once());
|
||||
.Verify(v => v.AddMovies(It.Is<List<Movie>>(s => s.Count == 5), true), Times.Once());
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -324,7 +324,7 @@ public void should_not_add_duplicate_movies_from_seperate_lists()
|
|||
Subject.Execute(_command);
|
||||
|
||||
Mocker.GetMock<IAddMovieService>()
|
||||
.Verify(v => v.AddMovies(It.Is<List<Movie>>(s => s.Count == 7)), Times.Once());
|
||||
.Verify(v => v.AddMovies(It.Is<List<Movie>>(s => s.Count == 7), true), Times.Once());
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -342,7 +342,7 @@ public void should_not_add_movie_from_on_exclusion_list()
|
|||
Subject.Execute(_command);
|
||||
|
||||
Mocker.GetMock<IAddMovieService>()
|
||||
.Verify(v => v.AddMovies(It.Is<List<Movie>>(s => s.Count == 7 && !s.Any(m => m.TmdbId == _moviesList2[0].TmdbId))), Times.Once());
|
||||
.Verify(v => v.AddMovies(It.Is<List<Movie>>(s => s.Count == 7 && !s.Any(m => m.TmdbId == _moviesList2[0].TmdbId)), true), Times.Once());
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -360,7 +360,7 @@ public void should_not_add_movie_that_exists_in_library()
|
|||
Subject.Execute(_command);
|
||||
|
||||
Mocker.GetMock<IAddMovieService>()
|
||||
.Verify(v => v.AddMovies(It.Is<List<Movie>>(s => s.Count == 7 && !s.Any(m => m.TmdbId == _moviesList2[0].TmdbId))), Times.Once());
|
||||
.Verify(v => v.AddMovies(It.Is<List<Movie>>(s => s.Count == 7 && !s.Any(m => m.TmdbId == _moviesList2[0].TmdbId)), true), Times.Once());
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue