mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
moved media file service
This commit is contained in:
@@ -9,6 +9,7 @@ using Moq;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Core.Configuration;
|
||||
using NzbDrone.Core.MediaFiles;
|
||||
using NzbDrone.Core.Tv;
|
||||
using NzbDrone.Core.Model.Notification;
|
||||
using NzbDrone.Core.Providers;
|
||||
@@ -105,7 +106,7 @@ namespace NzbDrone.Core.Test.ProviderTests.Metadata
|
||||
.Build();
|
||||
|
||||
Mocker.GetMock<IEpisodeService>()
|
||||
.Setup(s => s.GetEpisodesByFileId(episodeFile.EpisodeFileId))
|
||||
.Setup(s => s.GetEpisodesByFileId(episodeFile.Id))
|
||||
.Returns(new List<Episode> { episode });
|
||||
}
|
||||
|
||||
@@ -118,7 +119,7 @@ namespace NzbDrone.Core.Test.ProviderTests.Metadata
|
||||
.Build();
|
||||
|
||||
Mocker.GetMock<IEpisodeService>()
|
||||
.Setup(s => s.GetEpisodesByFileId(episodeFile.EpisodeFileId))
|
||||
.Setup(s => s.GetEpisodesByFileId(episodeFile.Id))
|
||||
.Returns(episodes.ToList());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user