* Stylecop Rules and Fixes
This commit is contained in:
Qstick
2020-01-03 07:49:24 -05:00
committed by GitHub
parent 63d669178d
commit f77a2feeef
1307 changed files with 8704 additions and 7404 deletions
@@ -7,8 +7,8 @@ namespace NzbDrone.Integration.Test.ApiTests
[TestFixture]
public class DownloadClientFixture : IntegrationTest
{
[Test, Order(0)]
[Test]
[Order(0)]
public void add_downloadclient_without_name_should_return_badrequest()
{
IgnoreOnMonoVersions("5.12", "5.14");
@@ -24,7 +24,8 @@ namespace NzbDrone.Integration.Test.ApiTests
DownloadClients.InvalidPost(schema);
}
[Test, Order(0)]
[Test]
[Order(0)]
public void add_downloadclient_without_nzbfolder_should_return_badrequest()
{
IgnoreOnMonoVersions("5.12", "5.14");
@@ -40,7 +41,8 @@ namespace NzbDrone.Integration.Test.ApiTests
DownloadClients.InvalidPost(schema);
}
[Test, Order(0)]
[Test]
[Order(0)]
public void add_downloadclient_without_watchfolder_should_return_badrequest()
{
IgnoreOnMonoVersions("5.12", "5.14");
@@ -56,7 +58,8 @@ namespace NzbDrone.Integration.Test.ApiTests
DownloadClients.InvalidPost(schema);
}
[Test, Order(1)]
[Test]
[Order(1)]
public void add_downloadclient()
{
EnsureNoDownloadClient();
@@ -73,7 +76,8 @@ namespace NzbDrone.Integration.Test.ApiTests
result.Enable.Should().BeTrue();
}
[Test, Order(2)]
[Test]
[Order(2)]
public void get_all_downloadclients()
{
EnsureDownloadClient();
@@ -83,7 +87,8 @@ namespace NzbDrone.Integration.Test.ApiTests
clients.Should().NotBeNullOrEmpty();
}
[Test, Order(2)]
[Test]
[Order(2)]
public void get_downloadclient_by_id()
{
var client = EnsureDownloadClient();
@@ -101,7 +106,8 @@ namespace NzbDrone.Integration.Test.ApiTests
var result = DownloadClients.InvalidGet(1000000);
}
[Test, Order(3)]
[Test]
[Order(3)]
public void update_downloadclient()
{
EnsureNoDownloadClient();
@@ -113,7 +119,8 @@ namespace NzbDrone.Integration.Test.ApiTests
result.Should().NotBeNull();
}
[Test, Order(4)]
[Test]
[Order(4)]
public void delete_downloadclient()
{
var client = EnsureDownloadClient();