You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System.Net;
|
|
|
|
|
using FluentAssertions;
|
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
using NzbDrone.Api.Commands;
|
|
|
|
|
using NzbDrone.Common.Serializer;
|
|
|
|
|
using RestSharp;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Integration.Test.ApiTests
|
|
|
|
|
{
|
|
|
|
|
[TestFixture]
|
|
|
|
|
[Ignore("Not ready to be used on this branch")]
|
|
|
|
|
public class CommandFixture : IntegrationTest
|
|
|
|
|
{
|
|
|
|
|
[Test]
|
|
|
|
|
public void should_be_able_to_run_rss_sync()
|
|
|
|
|
{
|
|
|
|
|
var response = Commands.Post(new CommandResource { Name = "rsssync" });
|
|
|
|
|
|
|
|
|
|
response.Id.Should().NotBe(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|