Send downloadProtocol in release/push integration test
This commit is contained in:
parent
7d06e5d684
commit
8abfc7609e
|
@ -1,11 +1,11 @@
|
||||||
using FluentAssertions;
|
using FluentAssertions;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using NzbDrone.Api.Indexers;
|
using NzbDrone.Api.Indexers;
|
||||||
using System.Linq;
|
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System;
|
using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
|
using NzbDrone.Core.Indexers;
|
||||||
|
|
||||||
namespace NzbDrone.Integration.Test.ApiTests
|
namespace NzbDrone.Integration.Test.ApiTests
|
||||||
{
|
{
|
||||||
|
@ -18,6 +18,7 @@ namespace NzbDrone.Integration.Test.ApiTests
|
||||||
var body = new Dictionary<string, object>();
|
var body = new Dictionary<string, object>();
|
||||||
body.Add("guid", "sdfsdfsdf");
|
body.Add("guid", "sdfsdfsdf");
|
||||||
body.Add("title", "The.Series.S01E01");
|
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));
|
body.Add("publishDate", DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ssZ", CultureInfo.InvariantCulture));
|
||||||
|
|
||||||
var request = ReleasePush.BuildRequest();
|
var request = ReleasePush.BuildRequest();
|
||||||
|
|
Loading…
Reference in New Issue