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("{}");