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

Commit 524c478

Browse files
Fixing test
1 parent e53178d commit 524c478

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tests/IntegrationTests/UnzipTaskTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ public void UnzipTest()
1919
var cacheContainer = Substitute.For<ICacheContainer>();
2020
Environment = new IntegrationTestEnvironment(cacheContainer, TestBasePath, SolutionDirectory);
2121

22-
var archiveFilePath = AssemblyResources.ToFile(ResourceType.Platform, "git.zip", TestBasePath.Combine("gip_zip_extracted"), Environment);
22+
var destinationPath = TestBasePath.Combine("git_zip").CreateDirectory();
23+
var archiveFilePath = AssemblyResources.ToFile(ResourceType.Platform, "git.zip", destinationPath, Environment);
2324

2425
Logger.Trace("ArchiveFilePath: {0}", archiveFilePath);
2526
Logger.Trace("TestBasePath: {0}", TestBasePath);
2627

27-
var extractedPath = TestBasePath.Combine("git_zip_extracted");
28-
extractedPath.CreateDirectory();
28+
var extractedPath = TestBasePath.Combine("git_zip_extracted").CreateDirectory();
2929

3030
var zipProgress = 0;
3131
Logger.Trace("Pct Complete {0}%", zipProgress);

0 commit comments

Comments
 (0)