Skip to content

Commit

Permalink
fix failing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
siblount committed Feb 6, 2024
1 parent a524dea commit 29ed213
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/DAZ_Installer.IOTests/Integration/DPFileInfoTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@ namespace DAZ_Installer.IO.Integration.Tests
#pragma warning disable CS0618 // This is for testing, as intended.
public class DPFileInfoTests
{
private static DPFileSystem unlimitedCtx = new DPFileSystem(DPFileScopeSettings.All);
private static DPFileSystem noCtx = new DPFileSystem(DPFileScopeSettings.None);
private static DPFileInfo existingFile = null!;
private static DPFileInfo nonexistantFile = null!;
private static DPFileInfo outOfScope = null!;
private static DPFileInfo destOutOfScope = null!;
private static string initExistingFilePath = null!;
private static string tempDir = Path.Combine(Path.GetTempPath(), "DAZ_Installer.IO.Integration.Tests.DPFileInfoTests");
private static DPFileSystem defaultFS = new DPFileSystem(new DPFileScopeSettings(Array.Empty<string>(), new[] { tempDir }, false));
Expand All @@ -36,9 +31,6 @@ public void TestInitialize()
public void TestCleanup()
{
existingFile.TryDelete();
nonexistantFile.TryDelete();
outOfScope.TryDelete();
destOutOfScope.TryDelete();
}

[TestMethod]
Expand Down

0 comments on commit 29ed213

Please sign in to comment.