diff --git a/src/SecTester.Repeater/Api/DeleteRepeaterRequest.cs b/src/SecTester.Repeater/Api/DeleteRepeaterRequest.cs index b18390b..d6bb83f 100644 --- a/src/SecTester.Repeater/Api/DeleteRepeaterRequest.cs +++ b/src/SecTester.Repeater/Api/DeleteRepeaterRequest.cs @@ -1,6 +1,6 @@ using System.Net.Http; -using SecTester.Repeater.Commands; using SecTester.Core; +using SecTester.Repeater.Commands; namespace SecTester.Repeater.Api; diff --git a/src/SecTester.Repeater/Dispatchers/HttpCommandDispatcher.cs b/src/SecTester.Repeater/Dispatchers/HttpCommandDispatcher.cs index f7f58e2..b2daae3 100644 --- a/src/SecTester.Repeater/Dispatchers/HttpCommandDispatcher.cs +++ b/src/SecTester.Repeater/Dispatchers/HttpCommandDispatcher.cs @@ -5,10 +5,10 @@ using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; -using SecTester.Repeater.Commands; -using SecTester.Repeater.Extensions; using SecTester.Core.Bus; using SecTester.Core.Utils; +using SecTester.Repeater.Commands; +using SecTester.Repeater.Extensions; namespace SecTester.Repeater.Dispatchers; diff --git a/src/SecTester.Repeater/RetryStrategies/ExponentialBackoffIRetryStrategy.cs b/src/SecTester.Repeater/RetryStrategies/ExponentialBackoffIRetryStrategy.cs index 71799e5..748b617 100644 --- a/src/SecTester.Repeater/RetryStrategies/ExponentialBackoffIRetryStrategy.cs +++ b/src/SecTester.Repeater/RetryStrategies/ExponentialBackoffIRetryStrategy.cs @@ -2,8 +2,8 @@ using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; -using SecTester.Repeater.Exceptions; using SecTester.Core.Bus; +using SecTester.Repeater.Exceptions; namespace SecTester.Repeater.RetryStrategies; diff --git a/src/SecTester.Scan/Commands/DeleteScan.cs b/src/SecTester.Scan/Commands/DeleteScan.cs index 19796ed..88008e9 100644 --- a/src/SecTester.Scan/Commands/DeleteScan.cs +++ b/src/SecTester.Scan/Commands/DeleteScan.cs @@ -1,5 +1,5 @@ -using SecTester.Repeater.Commands; using SecTester.Core; +using SecTester.Repeater.Commands; namespace SecTester.Scan.Commands; diff --git a/src/SecTester.Scan/Commands/StopScan.cs b/src/SecTester.Scan/Commands/StopScan.cs index 64f930c..60e6a82 100644 --- a/src/SecTester.Scan/Commands/StopScan.cs +++ b/src/SecTester.Scan/Commands/StopScan.cs @@ -1,5 +1,5 @@ -using SecTester.Repeater.Commands; using SecTester.Core; +using SecTester.Repeater.Commands; namespace SecTester.Scan.Commands; diff --git a/test/SecTester.Repeater.Tests/Usings.cs b/test/SecTester.Repeater.Tests/Usings.cs index 2fe5b6c..cd2b35c 100644 --- a/test/SecTester.Repeater.Tests/Usings.cs +++ b/test/SecTester.Repeater.Tests/Usings.cs @@ -1,18 +1,12 @@ global using System.Net; -global using System.Net.Sockets; global using System.Net.Http.Json; -global using System.Net.WebSockets; +global using System.Net.Sockets; global using System.Text; global using System.Text.Json; global using System.Text.Json.Serialization; global using System.Text.RegularExpressions; global using System.Timers; global using FluentAssertions; -global using Microsoft.AspNetCore; -global using Microsoft.AspNetCore.Builder; -global using Microsoft.AspNetCore.Hosting; -global using Microsoft.AspNetCore.Mvc.Testing; -global using Microsoft.AspNetCore.TestHost; global using Microsoft.Extensions.DependencyInjection; global using Microsoft.Extensions.DependencyInjection.Extensions; global using Microsoft.Extensions.Logging; @@ -23,17 +17,17 @@ global using RichardSzalay.MockHttp; global using SecTester.Core; global using SecTester.Core.Bus; -global using SecTester.Core.Logger; global using SecTester.Core.Exceptions; +global using SecTester.Core.Logger; global using SecTester.Core.Utils; global using SecTester.Repeater.Api; global using SecTester.Repeater.Bus; -global using SecTester.Repeater.Extensions; -global using SecTester.Repeater.Runners; -global using SecTester.Repeater.Tests.Mocks; global using SecTester.Repeater.Commands; global using SecTester.Repeater.Dispatchers; global using SecTester.Repeater.Exceptions; +global using SecTester.Repeater.Extensions; global using SecTester.Repeater.RetryStrategies; +global using SecTester.Repeater.Runners; +global using SecTester.Repeater.Tests.Mocks; global using Xunit; diff --git a/test/SecTester.Reporter.Tests/Usings.cs b/test/SecTester.Reporter.Tests/Usings.cs index 0d08de5..2781870 100644 --- a/test/SecTester.Reporter.Tests/Usings.cs +++ b/test/SecTester.Reporter.Tests/Usings.cs @@ -1,4 +1,3 @@ global using FluentAssertions; global using SecTester.Scan.Models; global using Xunit; -global using Microsoft.Extensions.DependencyInjection; diff --git a/test/SecTester.Scan.Tests/CI/VendorMatcherTests.cs b/test/SecTester.Scan.Tests/CI/VendorMatcherTests.cs index 122c96c..961db46 100644 --- a/test/SecTester.Scan.Tests/CI/VendorMatcherTests.cs +++ b/test/SecTester.Scan.Tests/CI/VendorMatcherTests.cs @@ -4,7 +4,8 @@ public class VendorMatcherTests { private readonly JsonSerializerOptions _options = new() { - PropertyNameCaseInsensitive = true, PropertyNamingPolicy = JsonNamingPolicy.CamelCase + PropertyNameCaseInsensitive = true, + PropertyNamingPolicy = JsonNamingPolicy.CamelCase }; public static readonly IEnumerable MatchEnvInput = new List diff --git a/test/SecTester.Scan.Tests/Usings.cs b/test/SecTester.Scan.Tests/Usings.cs index f81513d..b1bc4bc 100644 --- a/test/SecTester.Scan.Tests/Usings.cs +++ b/test/SecTester.Scan.Tests/Usings.cs @@ -1,9 +1,8 @@ +global using System.Collections; global using System.Net.Http.Headers; global using System.Net.Http.Json; -global using System.Collections; -global using System.Collections.Specialized; -global using System.Text.Json; global using System.Text; +global using System.Text.Json; global using System.Text.RegularExpressions; global using FluentAssertions; global using Microsoft.Extensions.DependencyInjection;