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:
parent
7d06e5d684
commit
8abfc7609e
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue