Cardigann Auth first pass

This commit is contained in:
Qstick
2021-02-09 00:13:47 -05:00
parent cd65729239
commit a41ae141cd
25 changed files with 793 additions and 72 deletions
@@ -1,4 +1,5 @@
using System.Linq;
using System.Linq;
using System.Net;
using System.Text;
using FluentAssertions;
using NUnit.Framework;
@@ -40,7 +41,7 @@ namespace NzbDrone.Core.Test.IndexerTests
private IndexerResponse CreateResponse(string url, string content)
{
var httpRequest = new HttpRequest(url);
var httpResponse = new HttpResponse(httpRequest, new HttpHeader(), Encoding.UTF8.GetBytes(content));
var httpResponse = new HttpResponse(httpRequest, new HttpHeader(), new CookieCollection(), Encoding.UTF8.GetBytes(content));
return new IndexerResponse(new IndexerRequest(httpRequest), httpResponse);
}