mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
added history integration test
This commit is contained in:
parent
c7bdf4148b
commit
4ddc599668
5 changed files with 38 additions and 0 deletions
21
NzbDrone.Integration.Test/HistoryIntegrationTest.cs
Normal file
21
NzbDrone.Integration.Test/HistoryIntegrationTest.cs
Normal file
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue