mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
21 lines
607 B
C#
21 lines
607 B
C#
using System.Linq;
|
|
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Core.ThingiProvider;
|
|
|
|
namespace NzbDrone.Integration.Test.ApiTests
|
|
{
|
|
[TestFixture]
|
|
public class IndexerFixture : 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.EnableRss);
|
|
}
|
|
}
|
|
} |