From 6b793d6ababd49816acaa2a7f493a6a2376fdd7a Mon Sep 17 00:00:00 2001 From: "dependencyupdates[bot]" <218638057+dependencyupdates[bot]@users.noreply.github.com> Date: Wed, 6 May 2026 10:46:19 +0000 Subject: [PATCH 1/2] Update dependency NUnit to 4.6.0 --- src/Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index ec2eba2ceb..13a09f2f30 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -54,7 +54,7 @@ - + From c13786d2acab495d6bb91190b608099de102ebe4 Mon Sep 17 00:00:00 2001 From: Mauro Servienti Date: Wed, 6 May 2026 14:38:53 +0200 Subject: [PATCH 2/2] Fix test case source --- .../InstallationTests.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/ServiceControlInstaller.Engine.UnitTests/InstallationTests.cs b/src/ServiceControlInstaller.Engine.UnitTests/InstallationTests.cs index 63924cd301..33bb8f0193 100644 --- a/src/ServiceControlInstaller.Engine.UnitTests/InstallationTests.cs +++ b/src/ServiceControlInstaller.Engine.UnitTests/InstallationTests.cs @@ -1,7 +1,7 @@ namespace ServiceControl.Audit.Persistence.Tests { + using System.Collections.Generic; using System.IO; - using System.Linq; using System.Text.Json; using NUnit.Framework; using Particular.Approvals; @@ -64,15 +64,11 @@ public void Audit_install_should_write_expected_config_file(string manifestPath) } } - public static string[][] GetAuditPersistenceManifestPaths() + public static IEnumerable GetAuditPersistenceManifestPaths() { var deployPath = Path.GetFullPath(Path.Combine(TestContext.CurrentContext.TestDirectory, "..", "..", "..", "..", "..", "deploy")); var persistersPath = Path.Combine(deployPath, "Particular.ServiceControl.Audit", "Persisters"); - var manifestPaths = Directory.GetFiles(persistersPath, "persistence.manifest", SearchOption.AllDirectories); - - return manifestPaths - .Select(path => new string[] { path }) - .ToArray(); + return Directory.GetFiles(persistersPath, "persistence.manifest", SearchOption.AllDirectories); } } }