mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Clean assets between test runs
This commit is contained in:
@@ -376,6 +376,8 @@ public class UpdateManagerTests
|
||||
info.TargetFullRelease.SHA256 = null;
|
||||
um.DownloadUpdates(info);
|
||||
|
||||
Directory.EnumerateFiles(packagesDir, "*.nupkg", SearchOption.TopDirectoryOnly).ForEach(File.Delete);
|
||||
|
||||
// change hash, it should now fail
|
||||
string actualHash = info.TargetFullRelease.SHA1;
|
||||
string modifiedHash = info.TargetFullRelease.SHA1.Substring(1) + "A";
|
||||
|
||||
Reference in New Issue
Block a user