1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-26 22:56:23 -04:00

Dapper and STJson

Co-Authored-By: ta264 <ta264@users.noreply.github.com>
This commit is contained in:
Qstick
2021-08-04 00:00:28 -04:00
committed by Mark McDowall
parent 1c22a1ec0d
commit 2e953a0eb1
259 changed files with 3719 additions and 10852 deletions
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -50,8 +50,8 @@ namespace NzbDrone.Core.Test.DiskSpace
private void GivenSeries(params string[] seriesPaths)
{
Mocker.GetMock<ISeriesService>()
.Setup(v => v.GetAllSeriesPaths())
.Returns(seriesPaths.ToList());
.Setup(v => v.GetAllSeriesPaths())
.Returns(new Dictionary<int, string>(seriesPaths.Select((value, i) => new KeyValuePair<int, string>(i, value))));
}
private void GivenExistingFolder(string folder)