mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
added history integration test
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using FluentAssertions;
|
||||
using NUnit.Framework;
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user