Use proper path for episode file moving

This commit is contained in:
Mark McDowall 2014-01-26 15:12:06 -08:00
parent 543cc4e6c1
commit 24430aef07
1 changed files with 5 additions and 1 deletions

View File

@ -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();