Fixed: Integration Unit Tests (#2500)

This commit is contained in:
Qstick
2018-02-13 19:10:49 +01:00
committed by Leonardo Galli
parent 081d8a8e53
commit b3e46d02c6
26 changed files with 423 additions and 564 deletions

View File

@@ -2,6 +2,7 @@ using System.IO;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Api.Movie;
namespace NzbDrone.Integration.Test
{
@@ -18,7 +19,7 @@ namespace NzbDrone.Integration.Test
var logFile = Path.Combine(_runner.AppData, "logs", "radarr.trace.txt");
var logLines = File.ReadAllLines(logFile);
var result = Series.InvalidPost(new Api.Series.SeriesResource());
var result = Movies.InvalidPost(new MovieResource());
logLines = File.ReadAllLines(logFile).Skip(logLines.Length).ToArray();