1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Protocol instead of download protocol

This commit is contained in:
Mark McDowall 2019-04-08 22:47:56 -07:00
parent cd26b8f728
commit cdde8cfdbe

View File

@ -17,7 +17,7 @@ public void should_have_utc_date()
var body = new Dictionary<string, object>();
body.Add("guid", "sdfsdfsdf");
body.Add("title", "The.Series.S01E01");
body.Add("downloadProtocol", 2);
body.Add("protocol", "Torrent");
body.Add("downloadUrl", "https://sonarr.tv/test.torrent");
body.Add("publishDate", DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ssZ", CultureInfo.InvariantCulture));