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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user