Ensure sub tempfolder is deleted after use

This commit is contained in:
Malte Rosenbjerg 2025-10-17 15:22:17 +02:00
parent 7794276536
commit abf2ab5ee7

View file

@ -17,6 +17,12 @@ public class DownloaderTests
_ffOptions = new FFOptions { BinaryFolder = tempDownloadFolder };
}
[TestCleanup]
public void DeleteTestFolder()
{
Directory.Delete(_ffOptions.BinaryFolder, true);
}
[OsSpecificTestMethod(OsPlatforms.Windows | OsPlatforms.Linux)]
public async Task GetSpecificVersionTest()
{