mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-19 21:44:30 -04:00
added commands.
they can be triggered using the api api/command/
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Api.Commands;
|
||||
|
||||
namespace NzbDrone.Integration.Test
|
||||
{
|
||||
[TestFixture]
|
||||
public class CommandIntegrationTest : IntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public void should_be_able_to_run_rss_sync()
|
||||
{
|
||||
Commands.Post(new CommandResource {Command = "rsssync"});
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user