1
0
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:
ta264
2019-12-22 22:08:53 +00:00
committed by Qstick
parent d4fa9b7345
commit f02fa629cc
1186 changed files with 7105 additions and 5616 deletions
@@ -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);