Send downloadProtocol in release/push integration test

This commit is contained in:
Mark McDowall 2019-04-07 21:05:39 -07:00
parent 7d06e5d684
commit 8abfc7609e
1 changed files with 2 additions and 1 deletions

View File

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