Lidarr/NzbDrone.Integration.Test/HistoryIntegrationTest.cs

23 lines
559 B
C#
Raw Normal View History

2013-09-10 07:01:27 +00:00
using System.Net;
using FluentAssertions;
2013-09-10 05:39:18 +00:00
using NUnit.Framework;
2013-09-10 07:01:27 +00:00
using NzbDrone.Api.History;
2013-09-10 05:39:18 +00:00
namespace NzbDrone.Integration.Test
{
[TestFixture]
public class HistoryIntegrationTest : IntegrationTest
{
[Test]
public void history_should_be_empty()
{
2013-09-10 07:01:27 +00:00
var history = History.GetPaged(1, 15, "date", "desc");
2013-09-10 05:39:18 +00:00
history.Records.Count.Should().Be(0);
history.Page.Should().Be(1);
history.PageSize.Should().Be(15);
history.Records.Should().BeEmpty();
}
}
}