mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Fixed RemoveGrabbed tests
This commit is contained in:
parent
4fb7cb3a8b
commit
401530db65
@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using FizzWare.NBuilder;
|
using FizzWare.NBuilder;
|
||||||
using Marr.Data;
|
using Marr.Data;
|
||||||
@ -54,8 +54,10 @@ public void Setup()
|
|||||||
|
|
||||||
_release = Builder<ReleaseInfo>.CreateNew().Build();
|
_release = Builder<ReleaseInfo>.CreateNew().Build();
|
||||||
|
|
||||||
_parsedEpisodeInfo = Builder<ParsedEpisodeInfo>.CreateNew().Build();
|
_parsedEpisodeInfo = Builder<ParsedEpisodeInfo>.CreateNew()
|
||||||
_parsedEpisodeInfo.Quality = new QualityModel(Quality.HDTV720p);
|
.With(h => h.Quality = new QualityModel(Quality.HDTV720p))
|
||||||
|
.With(h => h.AirDate = null)
|
||||||
|
.Build();
|
||||||
|
|
||||||
_remoteEpisode = new RemoteEpisode();
|
_remoteEpisode = new RemoteEpisode();
|
||||||
_remoteEpisode.Episodes = new List<Episode>{ _episode };
|
_remoteEpisode.Episodes = new List<Episode>{ _episode };
|
||||||
|
Loading…
Reference in New Issue
Block a user