1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-22 22:16:13 -04:00

Dapper and STJson

Co-Authored-By: ta264 <ta264@users.noreply.github.com>
This commit is contained in:
Qstick
2021-08-04 00:00:28 -04:00
committed by Mark McDowall
parent 1c22a1ec0d
commit 2e953a0eb1
259 changed files with 3719 additions and 10852 deletions
@@ -1,8 +1,9 @@
using System;
using System;
using System.Linq;
using FizzWare.NBuilder;
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Core.Languages;
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Qualities;
using NzbDrone.Core.SeriesStats;
@@ -37,6 +38,7 @@ namespace NzbDrone.Core.Test.SeriesStatsTests
_episodeFile = Builder<EpisodeFile>.CreateNew()
.With(e => e.SeriesId = _series.Id)
.With(e => e.Quality = new QualityModel(Quality.HDTV720p))
.With(e => e.Language = Language.English)
.BuildNew();
}
@@ -168,6 +170,7 @@ namespace NzbDrone.Core.Test.SeriesStatsTests
[Test]
public void should_have_size_on_disk_when_episode_file_exists()
{
GivenEpisodeWithFile();
GivenEpisode();
GivenEpisodeFile();