From 8abfc7609e457ec75a3d874e7d2d864238cbce5b Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 7 Apr 2019 21:05:39 -0700 Subject: [PATCH] Send downloadProtocol in release/push integration test --- src/NzbDrone.Integration.Test/ApiTests/ReleasePushFixture.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Integration.Test/ApiTests/ReleasePushFixture.cs b/src/NzbDrone.Integration.Test/ApiTests/ReleasePushFixture.cs index 92c650be3..8f7390f0a 100644 --- a/src/NzbDrone.Integration.Test/ApiTests/ReleasePushFixture.cs +++ b/src/NzbDrone.Integration.Test/ApiTests/ReleasePushFixture.cs @@ -1,11 +1,11 @@ using FluentAssertions; using NUnit.Framework; using NzbDrone.Api.Indexers; -using System.Linq; using System.Net; using System.Collections.Generic; using System; using System.Globalization; +using NzbDrone.Core.Indexers; namespace NzbDrone.Integration.Test.ApiTests { @@ -18,6 +18,7 @@ namespace NzbDrone.Integration.Test.ApiTests var body = new Dictionary(); body.Add("guid", "sdfsdfsdf"); body.Add("title", "The.Series.S01E01"); + body.Add("downloadProtocol", DownloadProtocol.Torrent.ToString()); body.Add("publishDate", DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ssZ", CultureInfo.InvariantCulture)); var request = ReleasePush.BuildRequest();