mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-18 23:48:35 +02:00
21 lines
606 B
C#
21 lines
606 B
C#
using System.Linq;
|
|
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Core.ThingiProvider;
|
|
|
|
namespace NzbDrone.Integration.Test
|
|
{
|
|
[TestFixture]
|
|
public class IndexerIntegrationFixture : IntegrationTest
|
|
{
|
|
[Test]
|
|
public void should_have_built_in_indexer()
|
|
{
|
|
var indexers = Indexers.All();
|
|
|
|
indexers.Should().NotBeEmpty();
|
|
indexers.Should().NotContain(c => string.IsNullOrWhiteSpace(c.Name));
|
|
indexers.Where(c => c.ConfigContract == typeof(NullConfig).Name).Should().OnlyContain(c => c.Enable);
|
|
}
|
|
}
|
|
} |