1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-20 21:55:03 -04:00

Updated HttpResponse to support binary content.

This commit is contained in:
Taloth Saldono
2014-09-13 00:39:42 +02:00
parent 56436fea69
commit 80ed203258
6 changed files with 68 additions and 26 deletions
@@ -33,8 +33,8 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests
Mocker.GetMock<IHttpClient>()
.Setup(c => c.Get(It.IsAny<HttpRequest>()))
.Returns(new HttpResponse(null, null, "", HttpStatusCode.OK));
.Setup(s => s.Get(It.IsAny<HttpRequest>()))
.Returns<HttpRequest>(r => new HttpResponse(r, new HttpHeader(), new Byte[0]));
}