Update environment variable used in the latest host.
DOTNET_SHARED_PACKAGES => DOTNET_SHARED_STORE
This commit is contained in:
parent
07bd09a155
commit
bfdba5df83
1 changed files with 2 additions and 2 deletions
|
@ -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("{}");
|
||||
|
|
Loading…
Add table
Reference in a new issue