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 @@ - + 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); } } }