Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 41af211

Browse files
committed
This test is no longer valid, we can't do md5 folder checksums
1 parent b1d005d commit 41af211

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/tests/IntegrationTests/UnzipTaskTests.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,5 @@ public async Task UnzipWorks()
3636

3737
extractedPath.DirectoryExists().Should().BeTrue();
3838
}
39-
40-
[Test]
41-
public void FailsWhenMD5Incorrect()
42-
{
43-
InitializeTaskManager();
44-
45-
var cacheContainer = Substitute.For<ICacheContainer>();
46-
Environment = new IntegrationTestEnvironment(cacheContainer, TestBasePath, SolutionDirectory);
47-
48-
var destinationPath = TestBasePath.Combine("gitlfs_zip").CreateDirectory();
49-
var archiveFilePath = AssemblyResources.ToFile(ResourceType.Platform, "git-lfs.zip", destinationPath, Environment);
50-
51-
var extractedPath = TestBasePath.Combine("gitlfs_zip_extracted").CreateDirectory();
52-
53-
var unzipTask = new UnzipTask(CancellationToken.None, archiveFilePath, extractedPath,
54-
ZipHelper.Instance, Environment.FileSystem);
55-
56-
Assert.Throws<UnzipException>(async () => await unzipTask.StartAwait());
57-
58-
extractedPath.DirectoryExists().Should().BeFalse();
59-
}
6039
}
6140
}

0 commit comments

Comments
 (0)