mirror of
https://github.com/Radarr/Radarr
synced 2025-02-23 23:01:10 +00:00
Fix Content-Type in FileList fixture
This commit is contained in:
parent
0b0c93081d
commit
3e55b1cf25
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ public async Task should_parse_recent_feed_from_FileList()
|
||||||
|
|
||||||
Mocker.GetMock<IHttpClient>()
|
Mocker.GetMock<IHttpClient>()
|
||||||
.Setup(o => o.ExecuteAsync(It.Is<HttpRequest>(v => v.Method == HttpMethod.Get)))
|
.Setup(o => o.ExecuteAsync(It.Is<HttpRequest>(v => v.Method == HttpMethod.Get)))
|
||||||
.Returns<HttpRequest>(r => Task.FromResult(new HttpResponse(r, new HttpHeader(), recentFeed)));
|
.Returns<HttpRequest>(r => Task.FromResult(new HttpResponse(r, new HttpHeader { { "Content-Type", "application/json" } }, recentFeed)));
|
||||||
|
|
||||||
var releases = await Subject.FetchRecent();
|
var releases = await Subject.FetchRecent();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue