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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user