mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-25 22:37:27 -04:00
Reformat and apply Stylecop rules
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
using RestSharp;
|
||||
using NzbDrone.Core.Messaging.Commands;
|
||||
using FluentAssertions;
|
||||
using System.Threading;
|
||||
using NUnit.Framework;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System;
|
||||
using Radarr.Http.REST;
|
||||
using System.Threading;
|
||||
using FluentAssertions;
|
||||
using Newtonsoft.Json;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Core.Messaging.Commands;
|
||||
using Radarr.Http.REST;
|
||||
using RestSharp;
|
||||
|
||||
namespace NzbDrone.Integration.Test.Client
|
||||
{
|
||||
@@ -27,7 +27,10 @@ namespace NzbDrone.Integration.Test.Client
|
||||
[JsonIgnore]
|
||||
public Command Body { get; set; }
|
||||
[JsonProperty("body")]
|
||||
public Command BodyReadOnly { get { return Body; } }
|
||||
public Command BodyReadOnly
|
||||
{
|
||||
get { return Body; }
|
||||
}
|
||||
}
|
||||
|
||||
public class CommandClient : ClientBase<SimpleCommandResource>
|
||||
@@ -37,7 +40,8 @@ namespace NzbDrone.Integration.Test.Client
|
||||
{
|
||||
}
|
||||
|
||||
public SimpleCommandResource PostAndWait<T>(T command) where T : Command, new()
|
||||
public SimpleCommandResource PostAndWait<T>(T command)
|
||||
where T : Command, new()
|
||||
{
|
||||
var request = BuildRequest();
|
||||
request.AddJsonBody(command);
|
||||
|
||||
Reference in New Issue
Block a user