mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-20 21:55:03 -04:00
7cfa0531dc
* First fixing of tests. * Updated more tests. * Fix some tests * Fix all prioritization tests. And add new for preferred words. * Updated CompletedDownloadservice tests * Fixed a lot of tests * Fixed all indexer requests. We should add more for the indexers we added. To lazy for that though ¯\_(ツ)_/¯ * Fixed organizer tests. Should probably be also updated to incorporate our newly added tags. * Fix notification tests. * Fixed update test for osx * Fixed a few more tests. * Fixed some more tests. * Update appveyor.yml * Update appveyor.yml * Update appveyor.yml * Update appveyor.yml * Update appveyor.yml * Update appveyor.yml * Update appveyor.yml * Update appveyor.yml * Update appveyor.yml * Update appveyor.yml * Update appveyor.yml * Update appveyor.yml * Update appveyor.yml * Update appveyor.yml * Update activity.less * Update appveyor.yml * Update appveyor.yml * Update CommonVersionInfo.cs * Update build-appveyor.cake Let's hope this works. * Update CommonVersionInfo.cs Just to kickstart appveyor * Fixed a few tests * Just ignore those tests. * Fixed more tests. * First steps in fixing Core.Test.Download.DownloadApprovedFixture * Fix most DownloadApprovedFixture tests * Fixed something. * Fixed a few more tests. * Fixed pending release tests. * All Core tests are now fixed. * Fixed the last tests :) * Fixed Download Station Tests. * Fixed Vuze and Transmission default settings which caused the tests to fail. * Fix most tests. * Fix RootFolder tests. * Fixed last tests
36 lines
905 B
C#
36 lines
905 B
C#
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Common.Extensions;
|
|
using NzbDrone.Core.DataAugmentation.Scene;
|
|
using NzbDrone.Core.Test.Framework;
|
|
using NzbDrone.Test.Common.Categories;
|
|
|
|
namespace NzbDrone.Core.Test.DataAugmentation.Scene
|
|
{
|
|
[TestFixture]
|
|
[Ignore("Series")]
|
|
[IntegrationTest]
|
|
public class SceneMappingProxyFixture : CoreTest<SceneMappingProxy>
|
|
{
|
|
[SetUp]
|
|
public void Setup()
|
|
{
|
|
UseRealHttp();
|
|
}
|
|
|
|
[Test]
|
|
|
|
public void fetch_should_return_list_of_mappings()
|
|
{
|
|
var mappings = Subject.Fetch();
|
|
|
|
mappings.Should().NotBeEmpty();
|
|
|
|
mappings.Should().NotContain(c => c.SearchTerm.IsNullOrWhiteSpace());
|
|
mappings.Should().NotContain(c => c.Title.IsNullOrWhiteSpace());
|
|
mappings.Should().Contain(c => c.SeasonNumber > 0);
|
|
}
|
|
|
|
}
|
|
}
|