|
|
|
@ -25,12 +25,16 @@ namespace NzbDrone.Core.Test.MediaFiles.EpisodeFileMovingServiceTests
|
|
|
|
|
[SetUp]
|
|
|
|
|
public void Setup()
|
|
|
|
|
{
|
|
|
|
|
_series = Builder<Series>.CreateNew()
|
|
|
|
|
.With(s => s.Path = @"C:\Test\TV\Series")
|
|
|
|
|
.Build();
|
|
|
|
|
|
|
|
|
|
_episodeFile = Builder<EpisodeFile>.CreateNew()
|
|
|
|
|
.With(f => f.Path = @"C:\Test\File.avi")
|
|
|
|
|
.Build();
|
|
|
|
|
|
|
|
|
|
_localEpisode = Builder<LocalEpisode>.CreateNew()
|
|
|
|
|
.With(l => l.Series = Builder<Series>.CreateNew().Build())
|
|
|
|
|
.With(l => l.Series = _series)
|
|
|
|
|
.With(l => l.Episodes = Builder<Episode>.CreateListOfSize(1).Build().ToList())
|
|
|
|
|
.Build();
|
|
|
|
|
|
|
|
|
|