refactor: Delete auto-created temp dir in MockFileSystem

Needed because of this issue:
https://github.com/TestableIO/System.IO.Abstractions/issues/983
pull/201/head
Robert Dailey 1 year ago
parent 2c7f220a71
commit 3127ab3bb8

@ -21,6 +21,10 @@ public abstract class TrashLibIntegrationFixture : IDisposable
{
protected TrashLibIntegrationFixture()
{
// todo: Remove later. Needed because of this issue:
// https://github.com/TestableIO/System.IO.Abstractions/issues/983
Fs.Directory.Delete("temp", true);
Paths = new AppPaths(Fs.CurrentDirectory().SubDirectory("test").SubDirectory("recyclarr"));
Logger = CreateLogger();

Loading…
Cancel
Save