Fix tests in ImportListSyncServiceFixture

pull/8777/head
Bogdan 1 year ago
parent 5c46c75ce7
commit 1e0ec4aefb

@ -156,6 +156,10 @@ namespace NzbDrone.Core.Test.ImportList
.Setup(v => v.GetAllMovies())
.Returns(_existingMovies);
Mocker.GetMock<IImportListMovieService>()
.Setup(v => v.GetAllListMovies())
.Returns(_list1Movies);
Subject.Execute(_commandAll);
Mocker.GetMock<IMovieService>()
@ -179,6 +183,10 @@ namespace NzbDrone.Core.Test.ImportList
.Setup(v => v.GetAllMovies())
.Returns(_existingMovies);
Mocker.GetMock<IImportListMovieService>()
.Setup(v => v.GetAllListMovies())
.Returns(_list1Movies);
Subject.Execute(_commandAll);
Mocker.GetMock<IMovieService>()
@ -204,6 +212,10 @@ namespace NzbDrone.Core.Test.ImportList
.Setup(v => v.GetAllMovies())
.Returns(_existingMovies);
Mocker.GetMock<IImportListMovieService>()
.Setup(v => v.GetAllListMovies())
.Returns(_list1Movies);
Subject.Execute(_commandAll);
Mocker.GetMock<IMovieService>()
@ -224,6 +236,10 @@ namespace NzbDrone.Core.Test.ImportList
.Setup(v => v.GetAllMovies())
.Returns(_existingMovies);
Mocker.GetMock<IImportListMovieService>()
.Setup(v => v.GetAllListMovies())
.Returns(_list1Movies);
Subject.Execute(_commandAll);
Mocker.GetMock<IMovieService>()
@ -241,6 +257,10 @@ namespace NzbDrone.Core.Test.ImportList
.Setup(v => v.GetAllMovies())
.Returns(_existingMovies);
Mocker.GetMock<IImportListMovieService>()
.Setup(v => v.GetAllListMovies())
.Returns(_list1Movies);
Subject.Execute(_commandAll);
Mocker.GetMock<IMovieService>()
@ -267,6 +287,10 @@ namespace NzbDrone.Core.Test.ImportList
.Setup(v => v.GetAllMovies())
.Returns(_existingMovies);
Mocker.GetMock<IImportListMovieService>()
.Setup(v => v.GetAllListMovies())
.Returns(_list1Movies);
Subject.Execute(_commandAll);
Mocker.GetMock<IMovieService>()

Loading…
Cancel
Save