diff --git a/src/Nexus/Extensibility/DataSource/DataSourceController.cs b/src/Nexus/Extensibility/DataSource/DataSourceController.cs index 937f16d1..0baf1926 100644 --- a/src/Nexus/Extensibility/DataSource/DataSourceController.cs +++ b/src/Nexus/Extensibility/DataSource/DataSourceController.cs @@ -1,7 +1,6 @@ using System.Buffers; using System.Collections.Concurrent; using System.ComponentModel.DataAnnotations; -using System.Diagnostics; using System.Reflection; using System.Text.Json; using System.Text.Json.Nodes; diff --git a/tests/Nexus.Tests/Other/PackageControllerTests.cs b/tests/Nexus.Tests/Other/PackageControllerTests.cs index aff86d79..fb4978d1 100644 --- a/tests/Nexus.Tests/Other/PackageControllerTests.cs +++ b/tests/Nexus.Tests/Other/PackageControllerTests.cs @@ -18,8 +18,8 @@ public class PackageControllerTests // However, this token - in combination with the test user's account // privileges - allows only read-only access to a test project, so there // is no real risk. - private static byte[] _token = new byte[] - { + private static byte[] _token = + [ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x5F, 0x70, 0x61, 0x74, 0x5F, 0x31, 0x31, 0x41, 0x46, 0x41, 0x41, 0x45, 0x59, 0x49, 0x30, 0x63, 0x55, 0x79, 0x35, 0x77, 0x72, 0x68, 0x38, 0x47, @@ -30,7 +30,7 @@ public class PackageControllerTests 0x55, 0x39, 0x63, 0x67, 0x41, 0x4E, 0x73, 0x5A, 0x4E, 0x4F, 0x55, 0x5A, 0x41, 0x50, 0x33, 0x4D, 0x51, 0x30, 0x67, 0x38, 0x78, 0x58, 0x41 - }; + ]; #endregion @@ -43,7 +43,7 @@ public async Task CanLoadAndUnloadAsync() var extensionFolderPath = Path.Combine(Path.GetTempPath(), $"Nexus.Tests.{Guid.NewGuid()}"); var pathHash = new Guid(extensionFolderPath.Hash()).ToString(); var configuration = "Debug"; - var csprojPath = "./../../../../../tests/TestExtensionProject/TestExtensionProject.csproj"; + var csprojPath = "./../../../../tests/TestExtensionProject/TestExtensionProject.csproj"; var process = new Process {