Update environment variable used in the latest host.

DOTNET_SHARED_PACKAGES => DOTNET_SHARED_STORE
This commit is contained in:
Eric Erhardt 2017-04-10 18:55:12 -05:00
parent 07bd09a155
commit bfdba5df83

View file

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