fixed more tests.

This commit is contained in:
kay.one 2013-02-24 11:57:33 -08:00
commit 9931bab998
51 changed files with 184 additions and 169 deletions

View file

@ -71,7 +71,7 @@ namespace NzbDrone.Core.Test.ProviderTests.PostDownloadProviderTests
private void WithImportedFile(string file)
{
var fakeEpisodeFile = Builder<EpisodeFile>.CreateNew()
.With(f => f.SeriesId = fakeSeries.SeriesId)
.With(f => f.SeriesId = fakeSeries.OID)
.Build();
Mocker.GetMock<DiskScanProvider>().Setup(s => s.ImportFile(fakeSeries, file)).Returns(fakeEpisodeFile);