Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollo3zehn committed Mar 1, 2024
1 parent 3eb029e commit 82e333c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/Nexus/Extensibility/DataSource/DataSourceController.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
8 changes: 4 additions & 4 deletions tests/Nexus.Tests/Other/PackageControllerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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

Expand All @@ -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
{
Expand Down

0 comments on commit 82e333c

Please sign in to comment.