1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 00:07:07 +00:00

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

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