From bfdba5df838359d82085c1bd7ece0efa1f8e67b0 Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Mon, 10 Apr 2017 18:55:12 -0500 Subject: [PATCH] Update environment variable used in the latest host. DOTNET_SHARED_PACKAGES => DOTNET_SHARED_STORE --- .../GivenDotnetStoresAndPublishesProjects.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/dotnet-store.Tests/GivenDotnetStoresAndPublishesProjects.cs b/test/dotnet-store.Tests/GivenDotnetStoresAndPublishesProjects.cs index 3eb9f2796..00fad8877 100644 --- a/test/dotnet-store.Tests/GivenDotnetStoresAndPublishesProjects.cs +++ b/test/dotnet-store.Tests/GivenDotnetStoresAndPublishesProjects.cs @@ -61,7 +61,7 @@ namespace Microsoft.DotNet.Cli.Publish.Tests var outputDll = Path.Combine(testProjectDirectory, "bin", configuration, _tfm, "publish", $"{testAppName}.dll"); new DotnetCommand() - .WithEnvironmentVariable("DOTNET_SHARED_PACKAGES", localAssemblyCache) + .WithEnvironmentVariable("DOTNET_SHARED_STORE", localAssemblyCache) .ExecuteWithCapturedOutput(outputDll) .Should().Pass() .And.HaveStdOutContaining("{}"); @@ -158,7 +158,7 @@ namespace Microsoft.DotNet.Cli.Publish.Tests var outputDll = Path.Combine(testProjectDirectory, "bin", configuration, _tfm, "publish", $"{testAppName}.dll"); new DotnetCommand() - .WithEnvironmentVariable("DOTNET_SHARED_PACKAGES", localAssemblyCache) + .WithEnvironmentVariable("DOTNET_SHARED_STORE", localAssemblyCache) .ExecuteWithCapturedOutput(outputDll) .Should().Pass() .And.HaveStdOutContaining("{}");