1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-27 22:57:09 -04:00

Revert "Swap to dapper and system.text.json for database backend"

This reverts commit d2065bfa1b.
This commit is contained in:
Qstick
2019-12-17 21:17:47 -05:00
parent d778085ba5
commit e937d74b11
155 changed files with 2335 additions and 2328 deletions
@@ -20,8 +20,8 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
.ToList();
Mocker.GetMock<IMovieService>()
.Setup(s => s.AllMoviePaths())
.Returns(movies.Select(x => x.Path).ToList());
.Setup(s => s.GetAllMovies())
.Returns(movies);
Mocker.GetMock<IDiskProvider>()
.Setup(s => s.GetParentFolder(movies.First().Path))
@@ -36,8 +36,8 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
public void should_not_return_error_when_no_movie()
{
Mocker.GetMock<IMovieService>()
.Setup(s => s.AllMoviePaths())
.Returns(new List<string>());
.Setup(s => s.GetAllMovies())
.Returns(new List<Movie>());
Subject.Check().ShouldBeOk();
}