2016-12-23 21:45:24 +00:00
|
|
|
|
using FluentAssertions;
|
2016-04-04 17:40:51 +00:00
|
|
|
|
using NUnit.Framework;
|
2019-09-03 02:22:25 +00:00
|
|
|
|
using NzbDrone.Integration.Test.Client;
|
2016-04-04 17:40:51 +00:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Integration.Test.ApiTests
|
|
|
|
|
{
|
|
|
|
|
[TestFixture]
|
|
|
|
|
public class CommandFixture : IntegrationTest
|
|
|
|
|
{
|
|
|
|
|
[Test]
|
|
|
|
|
public void should_be_able_to_run_rss_sync()
|
|
|
|
|
{
|
2019-09-03 02:22:25 +00:00
|
|
|
|
var response = Commands.Post(new SimpleCommandResource { Name = "rsssync" });
|
2016-04-04 17:40:51 +00:00
|
|
|
|
|
|
|
|
|
response.Id.Should().NotBe(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-12-22 21:24:10 +00:00
|
|
|
|
}
|