23 lines
559 B
C#
23 lines
559 B
C#
using System.Net;
|
|
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Api.History;
|
|
|
|
namespace NzbDrone.Integration.Test
|
|
{
|
|
[TestFixture]
|
|
public class HistoryIntegrationTest : IntegrationTest
|
|
{
|
|
[Test]
|
|
public void history_should_be_empty()
|
|
{
|
|
var history = History.GetPaged(1, 15, "date", "desc");
|
|
|
|
history.Records.Count.Should().Be(0);
|
|
history.Page.Should().Be(1);
|
|
history.PageSize.Should().Be(15);
|
|
history.Records.Should().BeEmpty();
|
|
}
|
|
|
|
}
|
|
} |